Heater varTypes declaration in L_Arduino.lua



  • Hi,
    First I want to thank everyone for this excellent project. Especially @hek.
    I succeeded in making work an electric heater thermostat. But changes were necessary on lines 97 and 98 L_Arduino.lua. (Development Branch)

    Original code:
    HEATER = {21, "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "ModeStatus", "" },
    HEATER_SW = {22, "urn:upnp-org:serviceId:SwitchPower1", "Status", "" },

    Modified code:
    HEATER = {21, "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", "CurrentSetpoint", "" },
    HEATER_SW = {22, "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "ModeStatus", "" },

    Can someone verify and upload these changes?
    I can confirm it works fine with my Vera Lite(UI6).
    Thank you.


  • Admin

    You are probably the first using these device definitions. Thanks for reporting.
    I've updated the repository now.


  • Hero Member

    @Hek - actually i use them, but not yet with 1.4

    • i do have a minor problem with this device for which this may be the answer ( again on 1.3)
      Ill try this on 1.3 tonight to see if this fixes it.

    @luiscampiz - this is my submission for the device:
    https://github.com/mysensors/Vera/commit/5aa2c862e8d728e3dda18135649d5bb271e7e52c

    • does it work/used with your fix?

  • Hero Member

    @gregl said:

    i do have a minor problem with this device for which this may be the answer ( again on 1.3)
    Ill try this on 1.3 tonight to see if this fixes it

    Ok yes ive now tested and this works better. I have to fix another bug in my sketch related to this but this did fix the weirdness i was seeing..

    So thanks @luiscampiz


Log in to reply
 

Suggested Topics

24
Online

11.2k
Users

11.1k
Topics

112.5k
Posts