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 :
    0_1458766192591_2016-03-23 21_42_06-MySensors - Jeedom.png

    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


Log in to reply
 

Suggested Topics

  • 3
  • 24
  • 2
  • 15
  • 2
  • 2

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts