taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
504 stars 126 forks source link

OpenHab MQTT esp8266 issue #320

Open l33d opened 1 year ago

l33d commented 1 year ago

Hello, I testing openhab sketch ant it works preety well, but now i see a problem with pgm status (isn`t work)

*  2. Create a "things" file for the security system as (OpenHAB configuration directory)/things/dsc.things:

Thing mqtt:topic:mymqtt:dsc "DSC Security System" (mqtt:broker:mymqtt) @ "Home" {
    Channels:

        Type switch : pgm1 "PGM 1" [stateTopic="dsc/Get/PGM 1", on="1", off="0"] 
        Type switch : pgm8 "PGM 8" [stateTopic="dsc/Get/PGM 8", on="1", off="0"] 

}

must be

    Type switch : pgm1 "PGM 1" [stateTopic="dsc/Get/PGM1", on="1", off="0"] 
    Type switch : pgm8 "PGM 8" [stateTopic="dsc/Get/PGM8", on="1", off="0"] 

and now it`s work verry well :)