bruxy70 / Venetian-Blinds-Control

Control Shutters or Venetian blinds via buttons and MQTT. Use 2 relays (up and down) and 2 binary inputs to independently control position and tilt.
MIT License
44 stars 19 forks source link

[Improvement] Allow to set timing in HA GUI #17

Open bzumik1 opened 9 months ago

bzumik1 commented 9 months ago

It would be really nice to be able to set the timing using HA so it would not be necessary to recompile the firmware.

christopher-lambe commented 7 months ago

The timing is set once per device and the firmware needs to be compiled once per device anyway. I don't see any benefit here unless your windows grow as they get older. The tilt duration is quite the same for all windows and the other values similar depending on the window's height or the weight (width) of the blinds. There are ways to write key:value pairs into persistent memory on esp8266 and esp32 but I am not aware of a generic way that Vaclav could use.

bzumik1 commented 2 weeks ago

I have not worked with this yet as I am still waiting for my blinds to be installed. However, I imagine that during the setup process, adjustments will need to be made to various parameters. From my perspective, it would be more efficient to make these adjustments directly through the HA GUI, rather than recompiling the firmware each time.

Additionally, I anticipate that minor adjustments will be needed over time to keep the blinds in sync, such as tweaking the timing by a few milliseconds. For this reason, I believe that configuring the setup through the GUI would be more convenient. However, if this approach is not feasible or too complicated, it is not a high priority.