[Solved] Support for S_MULTIMETER and V_VOLTAGE in Vera



  • Can anyone confirm if S_MULTIMETER and V_VOLTAGE are supported in Vera?

    L_Arduino.lua indicates it is supported

    Whereas Selecting a Controller, indicates it is not supported

    Using

    MyMessage msgVolt(CHILD_ID_VOLTAGE, V_VOLTAGE);
    

    and

    present(CHILD_ID_VOLTAGE, S_MULTIMETER);
    

    The Multimeter device is created
    0_1497189592394_Multimeter blank.JPG
    but the values are blank.

    The Vera log shows the 'Voltage' value is being sent with the correct value

    50      06/11/17 14:25:48.875   luup_log:78: Arduino: Set variable: 1;0;1;0;38;4.79 <0x2ebbe680>
    50      06/11/17 14:25:48.876   luup_log:78: Arduino: Setting variable 'Voltage' to value '4.79' <0x2ebbe680>
    50      06/11/17 14:25:48.876   luup_log:78: Arduino: urn:micasaverde-com:serviceId:EnergyMetering1,Voltage, 4.79, 87 <0x2ebbe680>
    

    Is it possible to get this to appear in the Multimeter device?



  • I have loaded a Github repo to the Vera branch to fix this. The problem is the service references in the D_Multimeter1.json file. Edit this file and change all 6 references of urn:arduino-cc:serviceId: to urn:micasaverde-com:serviceId:

    Then reload the LUUP file (D_Multimeter1.json) in VERA - APPS - DEVELOP APPS - LUUP FILES. Restart the LUUP Engine and the values will now correctly appear.

    You can also see the pull request here: https://github.com/mysensors/Vera/pull/57/commits/695dfefaca0b3c7c3529242132a0902de9ec212f



  • @itbeyond said in Support for S_MULTIMETER and V_VOLTAGE in Vera:

    urn:micasaverde-com:serviceId:

    Excellent, now working thanks
    0_1497265754361_Multimeter working.JPG

    I have commented accordingly on your pull request.


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.