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.
MQTT Client reboot
Re: MQTT Client reboot
We will chekc it. Should not be like that
Re: MQTT Client reboot
Do you see something related in the log?
-
- Posts: 3
- Joined: 20 Sep 2021 00:36
Re: MQTT Client reboot
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.
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
Looks like it took long to get the IP. We check it and fix in next release.
-
- Posts: 3
- Joined: 20 Sep 2021 00:36
Re: MQTT Client reboot
Nice! There is static ip on that box, maybe not rasberry is done booting?
Re: MQTT Client reboot
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
https://github.com/Z-Wave-Me/home-autom ... t/index.js
Re: MQTT Client reboot
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)
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
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).
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
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
And yes, you can use JavaScript to pause and resume via a JS script