Closed shellyeah closed 6 months ago
Was able to reproduce it. I will have a look on it.
I was also able to reproduce it, if it worked before maybe the mqtt command is not recognised correctly or something
I was also able to reproduce it, if it worked before maybe the mqtt command is not recognised correctly or something
is it because the position is divided by 100 (float) and therefore its to small to change the position by &HoermannCommand?
Temperatur and humidity are also not transmitted... Only on right after boot
the set position work from the we Gui so it cannot be the setPosition command in the Hoermann engine funtion. The devided by 0 is because the motor has position from 0 to 200 and Home assistant has 0 to 100. To have the same scale all number from the motor are divided by 200 and the others by 100. I'm suspect the error here. I have no issue with temperature. temperature is missing sometimes but it's when my docker reboot.
Thanks @14yannick !
Describe the bug I updated to the latest version (I built the master branch, not development). I am still able to control the door. Open, Close, Stop, Light, Vent. It also correctly reads back the current position but I can't set the position manually through HomeAssistant/MQTT. Web Interface works and I CAN set the position through the http endpoint. e.g:
/command?action=7&position=90
So it must be related to the firmware, something in the MQTT part must be messed up?To Reproduce Build firmware from the current master (commit 04f1679043589d1275462a4fa0f521d6cb790c9d), install firmware and try to set position through HomeAssistant/MQTT (set_position).
In the configuration.h I only set an OTA password, disabled the access point, added my wifi and mqtt credentials, set DEVICE_ID to HCPBridge01 and HOSTNAME to HCPBRIDGE01, (In case I get ten more garages :D)
Expected behavior Set the cover position through Home assistant/MQTT again as I've build a few automations around that feature.
subscribed to hormann/HCPBridge01/# and you can clearly see that the set_position command does not work while setting it through MQTT. The HTTP endpoint works as expected. Edit: Clarified that HTTP works and only MQTT does not.