Comments (5)
Thanks for the suggestion. AqualinkD already publishes with the retain flag, so anything connecting should get the last set of values AqualinkD posted directly from the MQTT server. So I’m not sure what this adds over that from an AqualinkD perspective. If a client dies, AqualinkD really doesn’t care about knowing that. At the time the client reconnects it will get the latest messages AqualinkD sent.
What problem / or potential issue do you see this solving?
from aqualinkd.
Sorry for the poor description! Client = aqualinkd, server = mqtt broker.
This would let you have a simple status topic in mqtt to see if aqualinkd is running. For example... When daemon starts, aqualinkd posts “online” message to a status topic. At the same time it sets the last will message to be “offline”. When daemon stops, it should post “offline” to the status message. If aqualinkd dies unexpectedly (eg WiFi drops, error, etc), then mqtt server will post the last will message on aqualinkd behalf. It’s a nice feature of mqtt tbh.
from aqualinkd.
Now I understand what you are after.
I've made the changes, Last Will Message is now supported.
aqualinkd/Alive (0 or 1)
from aqualinkd.
from aqualinkd.
works like a charm! Thanks!!
from aqualinkd.
Related Issues (20)
- Raspi inactive disconnect HOT 6
- Pool Temp is not updated when using "Low Speed" mode
- Would a TTL to RS485 adapter work instead of a USB one?
- System datetime is ignored and set to UTC HOT 5
- Can not set SPA heater to 104
- Newbie alert: How do I "add the AqualinkD bridge" in IOS? HOT 2
- Running AqualinkD on PC wanting to control other equipment HOT 22
- Clarity re Aqualink M8 and PDA+RS HOT 3
- Unable to make on new Pi Zero
- Can't turn buttons off in config.js HOT 6
- SWG percentage HOT 1
- Saltwater cell - 0%-> programmed % -> 0% (bouncing) when AqualinkD service is started HOT 17
- compiler warnings seen after bullseye update (other than mongoose)
- Jandy TCX Support
- Can't run on raspberry pi 4 model B with os 64bit HOT 6
- Increase syslog level limit HOT 3
- Pentair / J&J Lights Not Working
- AqualinkD Controlled Color Lights Not Working
- Read RS485 bus from ESP32 HOT 6
- Build broken by commit 77c8e29 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqualinkd.