Post by rbihler on Sept 13, 2016 4:22:38 GMT
I am a noob and have been combing the messages and have not been able to find the answer I am looking for. I am pretty sure I am missing a minor detail, but missing it all the same.
I have Aboullots Pi Gateway up and what I think running. I am also using his arduino code with some modifications as I was not able to compile with the DMT library I have. I just changed the dmt section and it sending valid data. I am not able to receive the temp or humidity messages into open. Hab. If I run the SenderReceiver -r command I see the same data packets that are coming into the log file.
I see the 101/14/6 data come in as listed below in the log, var2 and var3 are the data I would like.
I am also seeing 101/14/7 come in, the RGB data packets.
When I press the toggle red/green or blue I see the data lite on the arduino flash and a message in the log.
I am hoping this is something pretty simple, but I am stumped. I have changed the items file so many different ways hoping to see the data come in.
***My Openhab configurations transport section.
# URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
mqtt:rfmPiMosquitto.url=tcp://localhost:1883
mqtt:frmPiMymosquitto.qos=0
mqtt:rfmPiMosquitto.retain=true
mqtt:rfmPiMosquitto.async=true
***Items:
Group All
Group gGroundFloor (All)
Group GF_Living "Living Room" <video> (gGroundFloor)
Number MyFirstSensor "Temperature [%.1f F]" (GF_Living) {mqtt="<[rfmPiMosquitto:RFM/101/14/6/var2:state:default]"}
Number itm_garage_dist "Garage Dist [%.1f Inch]" (ALL){mqtt="<[rfmPiMosquitto:RFM/101/14/7:var2:state:default]"}
Contact itm_my_gar_door "Garage Door Status [MAP(en.map):%s]" <garage> (ALL)
Switch LivingLedRedSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:0,1,0"}
Switch LivingLedBlueSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:1,0,0"}
Switch LivingLedGreenSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:0,0,1"}
***My messages Log File, I am sure the messages are coming in.
Sep 12 22:12:22 raspberrypi Gatewayd[750]: [14] to [1]
Sep 12 22:12:22 raspberrypi Gatewayd[750]: Received Node ID = 14 Device ID = 6 Time = 9021472 RSSI = -92 var2 = 24.100000 var3 = 42.000000
Thanks
Ron
I have Aboullots Pi Gateway up and what I think running. I am also using his arduino code with some modifications as I was not able to compile with the DMT library I have. I just changed the dmt section and it sending valid data. I am not able to receive the temp or humidity messages into open. Hab. If I run the SenderReceiver -r command I see the same data packets that are coming into the log file.
I see the 101/14/6 data come in as listed below in the log, var2 and var3 are the data I would like.
I am also seeing 101/14/7 come in, the RGB data packets.
When I press the toggle red/green or blue I see the data lite on the arduino flash and a message in the log.
I am hoping this is something pretty simple, but I am stumped. I have changed the items file so many different ways hoping to see the data come in.
***My Openhab configurations transport section.
# URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
mqtt:rfmPiMosquitto.url=tcp://localhost:1883
mqtt:frmPiMymosquitto.qos=0
mqtt:rfmPiMosquitto.retain=true
mqtt:rfmPiMosquitto.async=true
***Items:
Group All
Group gGroundFloor (All)
Group GF_Living "Living Room" <video> (gGroundFloor)
Number MyFirstSensor "Temperature [%.1f F]" (GF_Living) {mqtt="<[rfmPiMosquitto:RFM/101/14/6/var2:state:default]"}
Number itm_garage_dist "Garage Dist [%.1f Inch]" (ALL){mqtt="<[rfmPiMosquitto:RFM/101/14/7:var2:state:default]"}
Contact itm_my_gar_door "Garage Door Status [MAP(en.map):%s]" <garage> (ALL)
Switch LivingLedRedSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:0,1,0"}
Switch LivingLedBlueSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:1,0,0"}
Switch LivingLedGreenSwitch {mqtt=">[rfmPiMosquitto:RFM/101/14/7:command:OFF:0,0,0],>[rfmPiMosquitto:RFM/101/14/7:command:ON:0,0,1"}
***My messages Log File, I am sure the messages are coming in.
Sep 12 22:12:22 raspberrypi Gatewayd[750]: [14] to [1]
Sep 12 22:12:22 raspberrypi Gatewayd[750]: Received Node ID = 14 Device ID = 6 Time = 9021472 RSSI = -92 var2 = 24.100000 var3 = 42.000000
Thanks
Ron