Today is my first day working with this, and there is a steep learning curve. For the time being, I’m trying something akin to a “Hello World” example. If I can get the plumbing figured out, I can figure out the MQTT interface.
I set up a network binding, and created a thing, “my pingable phone”. So next is making an item, and it got populated for me, and the item is called “online”, and I made it a switch. Back to my “thing” (the pingable phone), it now has three channels, with one being “online”. That part I think is working. I installed the rules engine from the misc addons. I made a rule to send mail. I edited the mail.cfg file, and I also see that I can test that rule.
When I try to test, I get, “updated: UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Getting handler ‘script.ScriptAction’ for module ‘2’ failed: Type is missing in the configuration of module ‘2’.”
I’m not seeing any entries in my mail server log, but I think I’m getting close.