Search found 81 matches
- Thu Sep 13, 2018 6:49 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
- Thu Sep 13, 2018 5:56 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
another output: keepalive=60 watch the repeatition of disconnects ( exactly 90 sec apart, resulting a last_will msg accordingly: Connected to MQTT server [2018-09-13 20:47:15.03] Fail Status #1: Wifi is: True Connected to MQTT server disconnect #1: duration: 0.7 [2018-09-13 20:48:45.03] Fail Status ...
- Thu Sep 13, 2018 4:59 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
a quick look for 2 hour span. 1 device- the only one that last_will is defined in code, spits "last_will" from time to time - to the topic I'm monitoring, and No the device is not powered off and back on, since in that case a boot up message should have been shown ( as first line in quoted output be...
- Thu Sep 13, 2018 1:22 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
it is an ESP8266- I just pulled out the USB cable to power off
- Thu Sep 13, 2018 10:39 am
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
The last will also works with a keepalive time of zero. It's then up to the broker to decide when it deems the client to be inactive and send its last will. In most cases that will be when the TCP connection between the client and the broker is closed / lost without a prior DISCONNECT control packe...
- Thu Sep 13, 2018 10:37 am
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
If you use mosquitto_sub to subscribe to the last will topic, it will display the message if the device has connected with a last will and keepalive time. The message is sent by the broker to all subscribers to the topic. When a device connects to the broker it registers a last will with the broker...
- Thu Sep 13, 2018 4:48 am
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
and how to get the last will message?pythoncoder wrote: ↑Wed Sep 12, 2018 4:56 pmOne way to test this is to run mosquitto_sub on a PC on the network.
- Tue Sep 11, 2018 8:14 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
please guideSpotlightKid wrote: ↑Tue Sep 11, 2018 7:56 pmSo, have you looked at the mosquitto log? Also, I repeat, how are confirming that the last will message is not sent?
- Tue Sep 11, 2018 3:59 pm
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
hi,
yes- mosquitto .
for last will- is the same topic for all outgoing messages for all my device ( which are recorded to a log file )
yes- mosquitto .
for last will- is the same topic for all outgoing messages for all my device ( which are recorded to a log file )
- Tue Sep 11, 2018 1:08 am
- Forum: General Discussion and Questions
- Topic: Last will on umqtt.simple
- Replies: 28
- Views: 17586
Re: Last will on umqtt.simple
I'm using a local broker on RPI zero W - wich works great from some time now.