Posts: 6,236
Threads: 803
Joined: Oct 2020
Reputation:
151
H32B V4.29 feedback all relay's state , it's for home assistant to save the state when power failure. if you integrate with Google home, not need all relay state upload. just every relay feedback everyone state, you can use V4.24 firmware.
Posts: 13
Threads: 1
Joined: Nov 2020
Reputation:
0
05-25-2021, 08:28 AM
(This post was last modified: 05-25-2021, 08:31 AM by Adrian.)
I have used version 4.24 before.
Currently, all my devices (sensors / relays) are connected via MQTT. Everything works locally via MQTT and Home Assistant. Google Home allows me to control via the Internet, including voice control - so I would like to see the real state of relays in both Google Home and HA.
In version 4.29 we get a message, for example relay number 1 and 3 turned on, the others turned off:
{"relay1":{"on":1},"relay2":{"on":0},"relay3":{"on":1},"relay4":{"on":0},"relay5":{"on":0},"relay6":{"on":0},"relay7":{"on":0},"relay8":{"on":0},"relay9":{"on":0},"relay10":{"on":0},"relay11":{"on":0},"relay12":{"on":0},"relay13":{"on":0},"relay14":{"on":0},"relay15":{"on":0},"relay16":{"on":0},"relay17":{"on":0},"relay18":{"on":0},"relay19":{"on":0},"relay20":{"on":0},"relay21":{"on":0},"relay22":{"on":0},"relay23":{"on":0},"relay24":{"on":0},"relay25":{"on":0},"relay26":{"on":0},"relay27":{"on":0},"relay28":{"on":0},"relay29":{"on":0},"relay30":{"on":0},"relay31":{"on":0},"relay32":{"on":0},"input1":{"on":0},"input2":{"on":0},"input3":{"on":0},"input4":{"on":0},"input5":{"on":0},"input6":{"on":0}}
Maybe you know some method in Node-Red to cut the state of only one relay from such a message and pass it to the selected output as JSON, e.g. {"relay1": {"on": 1}} ?
Posts: 6,236
Threads: 803
Joined: Oct 2020
Reputation:
151
You just use V4.24 is ok. V4.24 and V4.29 just different from the feedback message. V4.29 is mainly for home assistant. use V4.24 will be fine for you.
Posts: 13
Threads: 1
Joined: Nov 2020
Reputation:
0
I would love to go back to version 4.24 but ... this version does not synchronize states in HA and therefore in Google Home.
I understand you can't.
Posts: 6,236
Threads: 803
Joined: Oct 2020
Reputation:
151
HA need feedback all relay state so that can synchronize, we have tested. so we have designed the V4.29 firmware.
Posts: 2
Threads: 0
Joined: May 2021
Reputation:
0
05-31-2021, 07:41 PM
(This post was last modified: 05-31-2021, 09:59 PM by mnichu.)
Hello. after updating to v4.29, I cannot log in to the device.
After entering the IP address of the device 192.168.1.9 (ethernet), I enter:
login: "admin"
password: "admin" (I also tried "12345")
and gets: "user or password error!"
And now the most interesting ... if I go back to v4.19 it all works.
What am I doing wrong ?
I tried v4.29; v4.24 but only v4.19 works.
KC868-H32B device
EDIT after 2h:
it works!
I have uploaded v4.29 several times. I reset my router, browser (cookies), and it finally started. Thank you.
Posts: 6,236
Threads: 803
Joined: Oct 2020
Reputation:
151
if update for newest firmware , default user and password , all is "admin".