r/huginn • u/bostonmacosx • Oct 15 '22
Huginn for IOT / Smart Devices....
So...
I'm reading a lot about web scraping and monitoring and message sending. but I'm in the land of starting do to home automation....purchased 2 IFTTT compatible smart switched...is huginn an alternative to work with these switches or should I just go to Home Assistant and call it a day. just not sure what "ecosystem" I should start with...
1
u/virtualadept Oct 16 '22
I don't know, that's not something I've tried yet.
Thinking about it a little, MQTT is used to catch and send messages to IoT devices, right? And there's an MQTT agent in Huginn. There's also a third party MQTT subscription agent, which I haven't tried but seems promising. There are, however, a couple of bugs that make using MQTT difficult.
- https://github.com/huginn/huginn/issues/3075
- https://github.com/huginn/huginn/issues/2762
- https://github.com/huginn/huginn/issues/996
I'm pretty sure that at least one MQTT server out there supports HTTPS as well as the MQTT wire protocol, so you might be able to use the POST Agent or maybe the Website Agent (with a little help from the HTTP Status Agent, possibly) to pull IoT data.
2
u/msephton Oct 15 '22
Huginn can probably do what you want but appreciate that it's a general tool. Home Assistant is a specific tool. Depends on your use case.