-
Notifications
You must be signed in to change notification settings - Fork 14
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
#66 linux relay #69
#66 linux relay #69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When device work normally, and connection with broker is interrupted, and then when I try to change relay state, whole sd4linux is halted for ~30 s (reconnect timeout on MQTT).
Connection state to MQTT should not affect other sd4linux functionalities.
This reconnect timeout should be modified, so on few first connection problems, it should reconnect quicker and then if it still fails, it should use longer timeout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nadal po wyłączeniu brokera i próbie sterowania przekaźnikiem, cała aplikacja jest blokowana i nic się nie reaguje na inne wiadomości.
Poprawiłem, mam nadzieję, że wystarczy. |
Added control elements as CustomRelay. They contain output elements: Cmd, File and MQTT within template: Simple and Json