Page 1 of 2
MQTT Client reboot
Posted: 24 Sep 2021 14:46
by sintesteiner
Hi!
I use the new MQTT Client. But have a problem that I have to manually press pause and start on the app itself after reboot.
Should it be like this? is there any option and restate the app after reboot?
I have 4 different installations of zway on raspberry.
It's the same problem at all.
Re: MQTT Client reboot
Posted: 25 Sep 2021 20:04
by PoltoS
We will chekc it. Should not be like that
Re: MQTT Client reboot
Posted: 25 Sep 2021 20:04
by PoltoS
Do you see something related in the log?
Re: MQTT Client reboot
Posted: 27 Sep 2021 11:58
by sintesteiner
So, check the log
Did find somthing wrong
[2021-09-27 10:32:03.291] [core] Loading module MQTTClient from modules/MQTTClient
[2021-09-27 10:32:03.294] [core] Executing script: /*** MQTT Client Z-Way HA module **************************************************** ...
[2021-09-27 10:32:03.298] [core] Instantiating module 5 from class MQTTClient
[2021-09-27 10:32:03.299] [core] --- Starting module MQTT Client
[2021-09-27 10:32:03.313] [core] --- MQTTClient connect error to 192.168.150.2 Error: Network is unreachable
Look like it's try to early to connect to server, and its not retrying.
Re: MQTT Client reboot
Posted: 28 Sep 2021 01:00
by PoltoS
Looks like it took long to get the IP. We check it and fix in next release.
Re: MQTT Client reboot
Posted: 29 Sep 2021 15:33
by sintesteiner
Nice! There is static ip on that box, maybe not rasberry is done booting?
Re: MQTT Client reboot
Posted: 30 Sep 2021 02:49
by PoltoS
Z-Way might have started before network. Unlikely, but possible. We will improve it soon. You can follow this code to see the fix and port it to your box while waiting to the release.
https://github.com/Z-Wave-Me/home-autom ... t/index.js
Re: MQTT Client reboot
Posted: 07 Aug 2023 11:09
by ZW4L
Hi!
I use the new MQTT Client. But have a problem that I have to manually press pause and start on the app itself after reboot.
Is there a way to pause/start the mqtt app ( Robin Eggenkamp 1.4.1) automatically after reboot?
My current firmware version is: v4.1.1 on a Raspberry Pi (bullseye)
Re: MQTT Client reboot
Posted: 07 Aug 2023 11:21
by ZW4L
Hi!
I use the new MQTT Client. But have a problem that I have to manually press pause and start on the app itself after reboot.
Is there a way to Pause/Start the mqtt app automatically ( Robin Eggenkamp 1.4.1)?
My current firmware version is: v4.1.1 on a raspberry (bullseye).
Re: MQTT Client reboot
Posted: 09 Aug 2023 03:58
by PoltoS
Do you use the app by Eggenkamp or by Z-Wave.Me? It is better to check the log, find the issue and fix it rather that pausing.
And yes, you can use JavaScript to pause and resume via a JS script