Multiple data sent, only one received



  • Have a power meter pulse sensor and it counts perfect. Actually my light sensor is analog compared to the example that is digital, but the changes was easy to do.
    The Ardruino is connected via USB to my Domoticz computer. The problem is that the wattMsg is not received but the other two kwhMsg and pcMsg are reveived. I have checked the DB that the counter is saved in the database.
    I can use the kwhMsg i Domoticz but the wattMsg is just shown the first message sent but not continuously.

    If I check the serial port it look likes this
    $ sudo cat /dev/ttyACM-ElCounter
    0;1;1;0;17;1892
    0;1;1;0;24;580825
    0;1;1;0;18;580.8250

    The Domoticz Node display look like below
    Some stange things.

    • The is looks that the only children (#1) inlcudes both data (watt and kwh)
    • wattMsg have ID 0000000 and kwhMsg has ID 0000001
    • During the debugging I have seen that the presentation() function is never called.

    Any ideas? Where to start?

    0_1485898452261_upload-96a53d65-8441-4da0-886a-1547871cd6a9
    0_1485898736916_upload-9022f03c-0e98-4331-acac-7f6a9669bcad


 

388
Online

8.0k
Users

8.8k
Topics

94.4k
Posts