notify.mysensors - powerful feature likely with a bug
-
Hi there! Recently I've been working on a new feature for my GoWired project, which is about configuring modules with text messages using notify.mysensors Home Assistant service. The whole idea seems pretty powerful to me, but I encountered problems with the notify service.
Home Assistant documentation states 2 notations for setting the notification target:
- “[Child description]”
- “[Sketch name] [Node id] [Child id]”
I started with the second one, because it gives an opportunity to precisely specify the target: node ID + child ID, while the first one leads to sending the notification to all nodes with a given child sensor description. But despite many attempts and trying many notation variants I only managed to make the first notation work. The second seems not to send anything at all. Is there anyone here who's encountered this issue?
-
Ok, I've made some digging on Home Assistant GH and found out it's not a bug but a feature, but they just haven't put any info about the change to their documentation:
https://github.com/home-assistant/core/issues/62703
Long story short, to use the notation “[Sketch name] [Node id] [Child id]”, there should be no sensor description in presentation().
This is supposed to work with “[Child description]” notation:
present(NOTIFY_SENSOR_ID, S_INFO, "Child description");And this with “[Sketch name] [Node id] [Child id]” notation:
present(NOTIFY_SENSOR_ID, S_INFO);
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login