Good Morning: I’m new to Home assistant and looking for some guidance.
I have an application running “AqualinkD” for home pool automation. Fantastic product for those using Jandy and want to automate the process - or set up Google Home or Alexa or HomePod and talk with it - but I digress…
I am looking to have home assistant send me a text message when a topic changes to a specific value so that I know to fix it.
The topic is: aqualinkd/SWG/fullstatus
These are the values: (0 on, 1 no flow, 2 low salt, 4 high salt, 8 clean cell, 9 turning off, 16 high current, 32 low volts, 64 low temp, 128 check PCB, 255 off)
Ultimately I’d like to have either an e-mail or text message send to my phone so that I know if there is a challenge. For example would love to know when to clean cell (8), or if salt value is too high (4) or low (2), and so forth and it to send me a message coordinating to the error.
I was researching if mqtt can send messages (SMS or text) but didn’t get a firm answer as I saw mqtt.publish as well as some older topics saying to use a pushbullet plugin which I’d rather not install another module but will if need be.
I added this to automations.yaml but think its not right:
automation:
- alias: Clean Salt Water Cell
trigger:
platform: mqtt
topic: aqualinkd/SWG/fullstatus
payload: ‘8’
action:
service: mqtt.publish
data:
topic: aqualinkd/SWG/fullstatus
payload: “Clean Salt Cell”
Any guidance or recommendations? I am running 0.97.1 and have mqtt mosquitto installed.