KKempeneers - Hi all, I'm trying to make some d...

Hi all, I'm trying to make some digital switching interface with SensESP, but i cannot get for example KIP to recognise the path as writeble. I have used Listener, PutRequestListener classes but with no luck. Any help would be appreciated.
12 Replies
Jan Dytrych
Jan Dytrych3mo ago
It's broken in v3, have same issue and didn't find any cause for this. Worked fine in v2. When I'm trying to make PUT request in SKipper App, the request fails. Need to find some time to investigate...
Tony
Tony3mo ago
You can use node red to modify the path for testing the esp32. This will buy some time to wait for the patch that enables it in kip
Jan Dytrych
Jan Dytrych3mo ago
Luckly, I have my SensESP v2 six relays board still working, so I don't need any work-around like NodeRed. It doesn't play well with Linux DRM 🙂 Here is quick demo how it works: https://social.dytrych.cloud/@jan/112662473724018870
Tony
Tony3mo ago
It sounds like the issue is being able to simply trigger the relay using a GUi. I was responding to @KKempeneers suggesting to bypass the GUI like kip and use node red as a temporary solution for testing his relays
Jan Dytrych
Jan Dytrych3mo ago
Yes, but I can confirm that what works with SensESP v2, doesn't work with v3. There's no issue with GUI and I do expect that NodeRed will not work either. If I remember correctly it stopped working when Matti changed how incoming websocket json messages are handled.
KKempeneers
KKempeneersOP3mo ago
I think there's more wrong with the v3.1 release. Just hooked up a signal generator on ain in the example application, that reads values not even close to the intended 0 - 3.3V range. I'm rolling back to the v2 release for now.
Jan Dytrych
Jan Dytrych3mo ago
I had trouble with compiling v2 for my relays project (https://github.com/JohnySeven/Boat-T-RelayS3/issues/1), I hope you'll be more successful 🙏
KKempeneers
KKempeneersOP3mo ago
I am happy to inform you all that I have the outputs working controlled by KIP (SensESP 3.2) based on the example smart_switch_example.cpp on GitHub. Oeps sorry SensESP 3.1
Jan Dytrych
Jan Dytrych3mo ago
Good, what ESP32 variant you have?
KKempeneers
KKempeneersOP3mo ago
It is a Node32s board that is built with the ESP32dev module.
Jan Dytrych
Jan Dytrych3mo ago
Got it working with M5-ATOM and SKipper App, my issue last time was using BooleanSKPutRequestListener, with StringSKPutRequestListener and SmartSwitchController it looks like it's working. I might try to remove SmartSwitchController as I don't need input button or LED.
KKempeneers
KKempeneersOP3mo ago
I'm glad i could be of assistance.

Did you find this page helpful?