Server disconnected
-
Hello there !
I am currently testing a simple setup with on one side, a RPi running Jeedom with a Serial Gateway plugged in, and on the other side a Relay + Actuator node. This node uses a modified version of the example code, so the button directly controls the relay, then notifies the GW of the new relay state, instead of asking the GW to toggle the state.
My problem is the communication works well one way: from the node to the GW, as when I use the button, I can see the widget in Jeedom reflecting the new relay state. It always works.
But when I try to use Jeedom to send commands to the node to switch the state (I did not changes this part of the code), the node receives nothing (checked with the Serial monitor) and the GW log in Jeedom shows this:
23-03-2016 20:40:56 | info | Save Value : Value-1-87-1 23-03-2016 20:40:56 | debug | http://192.168.0.45:80/core/api/jeeApi.php?api=E186HiV2upfNHal90hbIn8nW833LD7IhVnCCnyT06QmkR1Ar&messagetype=saveValue&type=mySensors&id=87&sensor=1&donnees=2&value=1 23-03-2016 20:40:57 | debug | Got response Value: 200 23-03-2016 20:41:00 | info | Save Value : Value-0-87-1 23-03-2016 20:41:00 | debug | http://192.168.0.45:80/core/api/jeeApi.php?api=E186HiV2upfNHal90hbIn8nW833LD7IhVnCCnyT06QmkR1Ar&messagetype=saveValue&type=mySensors&id=87&sensor=1&donnees=2&value=0 23-03-2016 20:41:04 | debug | Got response Value: 200 23-03-2016 20:41:19 | debug | server connected 23-03-2016 20:41:19 | info | Response: 87;1;1;1;2;0 23-03-2016 20:41:19 | debug | server disconnected
I'm talking about the last 3 lines. What is above is the working part (GW receiving info from the node).
Here is the configuration of actions in Jeedom :
About an hypothetic range problem, I tested the two devices being as close as 30 cm from each other...
Any idea what could be wrong here?
Thanks
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 10 days ago • bocalexandru 9 days ago -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 27 days ago -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 2 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28