Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domoticz out mqtt from switch #82

Open
stafil opened this issue Jan 7, 2024 · 0 comments
Open

Domoticz out mqtt from switch #82

stafil opened this issue Jan 7, 2024 · 0 comments

Comments

@stafil
Copy link

stafil commented Jan 7, 2024

Hi,

domoticz send mqtt message:

{
"Battery" : 255,
"LastUpdate" : "2024-01-07 15:39:07",
"RSSI" : 12,
"description" : "",
"dtype" : "Light/Switch",
"hwid" : "28",
"id" : "000144F4",
"idx" : 69,
"name" : "SHPLG-S Ventilator - SW",
"nvalue" : 0,
"org_hwid" : "28",
"stype" : "Switch",
"switchType" : "On/Off",
"unit" : 1
}

and Shelly receive error:

ControlHandler - error: "Invalid UTF-8 string"

in function:

MQTT.subscribe("shellies/out_Shelly/" + JSON.stringify(deviceDomoticzSW), switchDomoticzControlHandler_shellies);

console.log("ControlHandler_shellies: ", JSON.stringify(message));

after error shelly restarts.

I run in latest fw domoticz and shelies.

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant