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 disconnectedI'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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login