Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. Home Assistant "The notify.mysensors service will be removed"

Home Assistant "The notify.mysensors service will be removed"

Scheduled Pinned Locked Moved Home Assistant
1 Posts 1 Posters 44 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OldSurferDudeO Offline
    OldSurferDudeO Offline
    OldSurferDude
    wrote on last edited by
    #1

    OK fine (grrrrr) below you'll my implementation of an HA work around

    But I find that the data is sent to a slightly different topic
    mysensorsor-in/0/1/1/0/47
    vs
    mysensorsor-in/0/1/1/1/47

    The data is still received because the code is looking for the sensor, but what's the difference?

    MySensors device code (snippet)

    #define CHILD_ID_ZONE 1
    .
    .
    .
    void presentation(){
    	present(CHILD_ID_ZONE,S_INFO,"Zone");
    }
    .
    .
    .
    void receive(const MyMessage &message){
    	if (message.getSender() == 0 ) {  // Only listen to messages for device on gateway
    		if (message.getSensor() == 1 ) {
    			ZoneToWater = (int8_t)(message.getLong());
                   }
          }
    .
    .
    .}
    

    Home Assistant script

    alias: SendCustomToArduino
    description: >-
      notify.mysensors is deprecated
        Sends to topic mysensorsor-in/0/1/1/0/47
      How to do the same thing using text.set_value service
        Sends to topic mysensorsor-in/0/1/1/1/47
    sequence:
      - service: text.set_value
        target: 
          entity_id: text.zone
        data:
          value: "12"
      - service: notify.mysensors
        data:
          message: 13
          target: Zone
    mode: single
    
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    18

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular