Announcement

Collapse
No announcement yet.

How to make a device to show up in HS Energy?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    The type was defined as EnergyAPIModule.enumEnergyDevice.Other in the script above and what is used when mcsMQTT creates the device. It seems odd to me that it would make any difference to HS what the energy type is to be able to store in the energy database.
    Code:
    hs.Energy_SetEnergyDevice(oMQTT.Ref, EnergyAPIModule.enumEnergyDevice.Other)
    The process to install update for HS3 is to use the updater_override.txt process or to copy both HSPI_mcsMQTT.exe (into HS3 folder) and mcsMQTT_2020.dll (into \bin\mcsMQTT folder). Normally only the .dll is needed, but in this case the interface changed with the additional scripting function so both are required.

    Comment

    Working...
    X