I'm using Domoticz and Hombridge for month and I decided to add a 433Mhz motion sensor. In order to get feedback on my iPhone I activated the MQTT option in hombrigde, added the Domoticz hardware and the logs are obviously working because every time I move, I can get feedback in hombridge thx to Domoticz...
Code: Select all
[2020-2-8 01:27:17] [eDomoticz] MQTT Message received for Détecteur de mouvement.
Name: Détecteur de mouvement
Device: Lighting 4,PT2262
Is Switch: true
SwitchTypeVal: 8
MQTT Message:
{
"Battery": 255,
"RSSI": 7,
"description": "",
"dtype": "Lighting 4",
"id": "5FF0A9",
"idx": 636,
"name": "Détecteur de mouvement",
"nvalue": 1,
"stype": "PT2262",
"svalue1": "415",
"switchType": "Motion Sensor",
"unit": 0
}
Code: Select all
[2020-2-8 01:34:38] [eDomoticz] MQTT Message received for Lampe.
Name: Lampe
Device: Lighting 6,Blyss
Is Switch: true
SwitchTypeVal: 0
MQTT Message:
{
"Battery": 255,
"RSSI": 12,
"description": "",
"dtype": "Lighting 6",
"id": "060947",
"idx": 227,
"name": "Guirelande",
"nvalue": 0,
"stype": "Blyss",
"svalue1": "0",
"switchType": "On/Off",
"unit": 3
}
Everything's in Domoticz looks to work well.
If anyone have clues it will be welcomed

---
Raspberry Pi 3
Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.4.2 (default, Sep 16 2019, 20:33:47) [GCC 4.9.2]
Homebridge
homebridge-edomoticz v2.1.22
Node.js Version v8.16.2
Npm version v6.13.7
Configured as follow : https://www.npmjs.com/package/homebridge-edomoticz