2018 Jan 05, 08:50 AM
(This post was last modified: 2018 Jan 05, 09:12 AM by astrogerard.)
Thanks Dan,
Indeed print statements are working. Silly me was assuming some code was executed but it wasn't. I was trying to fire a runonce via mqtt (SIP/schedule topic) noticed that the subscription part of the code is not executed and therefore on_message also remains silent.
I will have a look and see if I can get it working.
--Gerard
**EDIT** Found it. Although the topic displayed correctly on the settings page you still have to save the settings first.
Indeed print statements are working. Silly me was assuming some code was executed but it wasn't. I was trying to fire a runonce via mqtt (SIP/schedule topic) noticed that the subscription part of the code is not executed and therefore on_message also remains silent.
I will have a look and see if I can get it working.
--Gerard
**EDIT** Found it. Although the topic displayed correctly on the settings page you still have to save the settings first.