Jeedom application can't see ethernet gateway



  • Hi

    I used latest libraries and code examples.
    I can see my temperature sensor sending information on it's serial port.
    I can see my ethernet gateway getting these temperature information.
    I can reach my ethernet gateway through it's IP adress with basic nc command line and I see my temerature messages arriving through this path
    I installed the mysensors application on my jeedom controller and activated the debug option.
    It seems it's getting some info, but it doesn't create a node or an object, i haven't got nor the gateway nor the temperature sensor.
    Any ideas / advice ?

    FYI, here are the logs on jeedom :

    18-02-2016 16:35:32 | info | Jeedom url : http://:80/core/api/jeeApi.php?api=
    18-02-2016 16:35:32 | info | gwPort : 5003
    18-02-2016 16:35:32 | info | gwType : Network
    18-02-2016 16:35:32 | info | gwAddress : 192.168.1.210
    18-02-2016 16:35:32 | info | Inclusion : on
    18-02-2016 16:35:32 | info | server bound on 8019
    18-02-2016 16:35:32 | info | connected to network gateway at 192.168.1.210:5003
    18-02-2016 16:35:32 | info | Save Gateway Status 1
    18-02-2016 16:35:59 | info | Save Value : Value-49.3-100-0
    18-02-2016 16:35:59 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=0&donnees=1&value=49.3
    18-02-2016 16:35:59 | debug | SaveValue Error : null
    18-02-2016 16:36:34 | info | Save Value : Value-49.6-100-0
    18-02-2016 16:36:34 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=0&donnees=1&value=49.6
    18-02-2016 16:36:34 | debug | SaveValue Error : null
    18-02-2016 16:37:08 | info | Save Value : Value-21.2-100-1
    18-02-2016 16:37:08 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=1&donnees=0&value=21.2
    18-02-2016 16:37:09 | info | Save Value : Value-49.5-100-0
    18-02-2016 16:37:09 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=0&donnees=1&value=49.5
    18-02-2016 16:37:09 | debug | SaveValue Error : null
    18-02-2016 16:37:09 | debug | SaveValue Error : null



  • Hello,

    What is your sketch ? It seems that your sensors have no presentation !
    Example in the setup()function:

    node.present(CHILD_ID, S_MOTION);
      node.present(CHILD_ID_VOLTAGE, S_MULTIMETER);
    

    It's mandatory for jeedom if I'm right.

    David.



  • You're right, my bad, I paste bad logs in which I hadn't the sensor disconnected.
    Now if I disconnect all of it (the gateway and the sensor), then I reconnect the gateway and the the sensor, I still have the issue (I confirm having the right presentation lines in the sketch).

    Again, any ideas anyone ?

    19-02-2016 20:06:55 | info | Jeedom url : http://:80/core/api/jeeApi.php?api=
    19-02-2016 20:06:55 | info | gwPort : 5003
    19-02-2016 20:06:55 | info | gwType : Network
    19-02-2016 20:06:55 | info | gwAddress : 192.168.1.210
    19-02-2016 20:06:55 | info | Inclusion : on
    19-02-2016 20:06:55 | info | server bound on 8019
    19-02-2016 20:06:55 | info | connected to network gateway at 192.168.1.210:5003
    19-02-2016 20:06:55 | info | Save Gateway Status 1
    19-02-2016 20:07:10 | debug | -> 100;255;3;0;6;M
    19-02-2016 20:07:13 | info | Save saveSketchName : Value-100-Humidity
    19-02-2016 20:07:13 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveSketchName&type=mySensors&id=100&value=Humidity
    19-02-2016 20:07:13 | info | Save saveSketchVersion : Value-100-1.0
    19-02-2016 20:07:13 | info | http://:80/core/api/jeeApi.php?api=&messagetype=saveSketchVersion&type=mySensors&id=100&value=1.0
    19-02-2016 20:07:14 | info | Save saveSensor : Value-100-0-7
    19-02-2016 20:07:14 | info | Save saveLibVersion : Value-100-
    19-02-2016 20:07:14 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveLibVersion&type=mySensors&id=100&value=
    19-02-2016 20:07:15 | info | Save saveSensor : Value-100-1-6
    19-02-2016 20:07:15 | info | Save saveLibVersion : Value-100-
    19-02-2016 20:07:15 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveLibVersion&type=mySensors&id=100&value=
    19-02-2016 20:07:18 | info | Save Value : Value-21.1-100-1
    19-02-2016 20:07:18 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=1&donnees=0&value=21.1
    19-02-2016 20:07:18 | info | Save Value : Value-51.0-100-0
    19-02-2016 20:07:18 | debug | http://:80/core/api/jeeApi.php?api=&messagetype=saveValue&type=mySensors&id=100&sensor=0&donnees=1&value=51.0
    19-02-2016 20:07:18 | debug | SaveValue Error : null
    19-02-2016 20:07:18 | debug | SaveValue Error : null



  • look,
    19-02-2016 20:06:55 | info | Jeedom url : http://:80/core/api/jeeApi.php

    the ip address of jeedom is missing , you must add it in the network configuration of jeedom

    besides, when you post log, delete the value of api : it is confidential ...



  • Let's dig into that direction then ...
    Where can I configure the mysensors plugin to have or the look the IP adress of the jeedom system it is installed into ?
    Shouldn't that be allready made directly in the source code of the mysensors plugin ?
    Not sure that this is the reason of the bug ...
    Anyone with other ideas ?



  • @fredmet8 you have to configure it, as I previously said, in the network configuration section of jeedom, not in the plugin



  • @fredmet8 As mentioned by @minscof you have to check your network configuration. Verify it's ok and then we can look for something else 🙂
    I never configured IP in the MySensors plugin !

    David.


 

Suggested Topics

353
Online

8.1k
Users

8.9k
Topics

95.2k
Posts