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. Notification platform

Notification platform

Scheduled Pinned Locked Moved Home Assistant
9 Posts 4 Posters 2.2k Views 4 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.
  • kernaldK Offline
    kernaldK Offline
    kernald
    wrote on last edited by
    #1

    I plan for some time now to use a small LCD screen to display information. It would be nice to integrate this via MySensors and reuse the hardware I already have set up. Exposing a notify service in HA would be a perfect match for that.

    Does anybody have any hint on where to start?

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Welcome to the Mysensors forum @kernald !

      Something like @sundberg84's LCD project maybe?

      1 Reply Last reply
      0
      • kernaldK Offline
        kernaldK Offline
        kernald
        wrote on last edited by
        #3

        Thanks!

        If I'm understanding correctly, @sundberg84's project is too amazing compared to what I'm trying to achieve ;-) I already have a controller running (Home Assistant), I'm just looking for a way to forward notifications from this controller to a MySensors node. Home Assistant as this service called notify, with multiple implementations (XMPP, Pushbullet…). A nice way to achieve what I want would be to create a notify implementation working in pair with MySensors, by pushing an arbitrary text to a specific node.

        However, I never wrote any Home Assistant components, so I'm absolutely not sure on where to start. And there may be a "standard" way to push text to a node on MySensors, but I didn't find any. I'll be happy to work on this once I have a pretty much clear idea on what to do or not, but… it's not the case right now, hence this discussion :-)

        mfalkviddM 1 Reply Last reply
        0
        • kernaldK kernald

          Thanks!

          If I'm understanding correctly, @sundberg84's project is too amazing compared to what I'm trying to achieve ;-) I already have a controller running (Home Assistant), I'm just looking for a way to forward notifications from this controller to a MySensors node. Home Assistant as this service called notify, with multiple implementations (XMPP, Pushbullet…). A nice way to achieve what I want would be to create a notify implementation working in pair with MySensors, by pushing an arbitrary text to a specific node.

          However, I never wrote any Home Assistant components, so I'm absolutely not sure on where to start. And there may be a "standard" way to push text to a node on MySensors, but I didn't find any. I'll be happy to work on this once I have a pretty much clear idea on what to do or not, but… it's not the case right now, hence this discussion :-)

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @kernald MySensors has a standard way. It is called V_TEXT, and that's what sundberg84 is using. It is not a notification though, it is a sensor sub-type.

          1 Reply Last reply
          0
          • kernaldK Offline
            kernaldK Offline
            kernald
            wrote on last edited by
            #5

            I can't find anything regarding V_TEXT in the documentation. Is this something planned for v2?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              drock1985
              wrote on last edited by
              #6

              You might be able to get away with S_CUSTOM and V_VAR instead..... not sure if that would work or not.

              My Projects
              2 Door Chime Sensor
              Washing Machine Monitor

              1 Reply Last reply
              0
              • mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by
                #7

                Yes it is planned for v2 but you can add it to MySesnors 1.5 quite easily. Instructions are available at https://forum.mysensors.org/topic/1957/lcd-clock-and-text-sensor-node-with-new-v_text/2

                kernaldK 1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  Yes it is planned for v2 but you can add it to MySesnors 1.5 quite easily. Instructions are available at https://forum.mysensors.org/topic/1957/lcd-clock-and-text-sensor-node-with-new-v_text/2

                  kernaldK Offline
                  kernaldK Offline
                  kernald
                  wrote on last edited by
                  #8

                  @mfalkvidd Awesome, thanks. Now, I just need to figure how the Home-Assistant platform works!

                  martinhjelmareM 1 Reply Last reply
                  1
                  • kernaldK kernald

                    @mfalkvidd Awesome, thanks. Now, I just need to figure how the Home-Assistant platform works!

                    martinhjelmareM Offline
                    martinhjelmareM Offline
                    martinhjelmare
                    Plugin Developer
                    wrote on last edited by martinhjelmare
                    #9

                    @kernald

                    Hi!

                    Home assistant uses pymysensors to interface with mysensors. S_INFO/V_TEXT should be added along side the other new types in a const_20 module. I have a branch for this already that I can push. We will need to bump version on pymysensors also and use this version in your branch for home assistant.

                    Then you will be able to use those types to setup a mysensors notify platform. You can look at how the other mysensors platforms are setup.

                    1 Reply Last reply
                    1
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    11

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.0k

                    Posts


                    Copyright 2019 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