04.08.2020, 16:34
(04.08.2020, 15:09)admin Wrote: There's no easy way of reading input state directly. Newer FW for you device has an additional value send on start-up for binary input mode. If you restore the backup using standard procedure then the value will be updated after reboot. If you manipulate db directly there's no way for all other processes to know that the stored value changed until a reboot happens or object value is updated via bus/write/update.
I'm not manipulating db directly. I am only reading from db current state, but I see that it can be different than current input state.
Quote:Newer FW for you device has an additional value send on start-up for binary input mode. If you restore the backup using standard procedure then the value will be updated after reboot.
This is probably still not a solution, because I've used normal backup procedure. And additional value send at start-up is not enought, it should have possibility to add cyclically refresh value or interface(preffered) for user which can decide and customize solution to specific case especially when LM controls e.g. whole HVAC system.
Really do you not have any package or some c/c++ code or low level task which can be executed from lua also by exec command?
Done is better than perfect