Domoticz + Hombridge : Inverted MQTT data ?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
pjczx
Posts: 1
Joined: Saturday 08 February 2020 1:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz + Hombridge : Inverted MQTT data ?

Post by pjczx »

Hi everyone,

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
}
But... Most of my ON/OFF switch have now an issue : iOS Home App is stuck at sending ON values ! So I can switch on one time, and then I'm force to go to the Domoticz interface to switch it off ... Probably side effect, it also mess all iOS Home automations

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
}
If I deactivate the Domoticz MQTT interface (of change the publish topic), everything goes back to normal.

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest