Closed RichardPasmans closed 6 years ago
Hi Richard, thanks for trying it!
You can use sendHABotNotification
in your rules or any of the other actions in this file:
https://github.com/ghys/habot/blob/a8658da56c2566bc7e8f4b512fec7b8dcd3ca2f8/src/main/java/org/openhab/ui/habot/notification/WebPushNotificationAction.java#L40-L80
Or if you have the experimental "next-gen" rule engine installed you can use that too (including telling HABot to "create a rule").
You don't need the myopenhab.org functionality, just subscribe to notifications in HABot settings and your openHAB server will send the message directly to Google (Chrome), Mozilla (Firefox) or Microsof( (Edge) push servers (Apple doesn't support web push yet).
Crazy!
I wonder why Habot hasn't been picked up yet by the community. It is awesome and almost plug-and-play!
Hi Yannick,
Just curious where I could find my or any cardUID? Could you point me in the right direction?
@Path("/cards/{cardUID}")
If you edit the card from the card deck it will be in the URL: /habot/index.html#/designer/472d7da0-11c3-844d-9a91-46d5e64b021f the part in bold is the card UID
Thanks! Something I had not noticed, but this certainly does the trick. I know it is very time consuming to add everything to the wiki, but to be honest, the rest is fairly straight forward. When I have the time, I will create a topic on openHAB community as I think far too less people know about this.
Thanks again for the awesome chat bot!
Hi Yannick,
First off, HABOT! Great stuff! It works like a charm and it does exactly what I was looking for. Big thanks for sharing it.
Now, I have set everything up and type or speak my commands, local and remote. Next step would be to receive notifications in HABOT. At this moment, the notifications are recieved by the openHAB native android app. The HABOT app should be somehow connected to myOpenHAB in order to receive notifications, but how? I seem to be at a dead-end. Is this possible at the moment?
What I try to accomplish for instance: