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. Node-RED
  4. node-red-contrib-mysensors release thread

node-red-contrib-mysensors release thread

Scheduled Pinned Locked Moved Node-RED
36 Posts 6 Posters 8.7k Views 8 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.
  • T Offline
    T Offline
    tbowmo
    Admin
    wrote on last edited by
    #27

    What I did way back when I got it up and running in docker, was to jump into the container shell, and install the package manually (So you are using the same node.js version that node-red is using).

    You could also (in that docker shell) do a apt install (given that it builds upon a debian based image).

    something in the line of:

    $ docker exec -it <id of container running node-red> /bin/bash
    # now you are in docker..
    $ apt install build-essentials
    $ cd <to your node-red data directory>
    $ npm install node-red-contrib-mysensors
    $ exit
    

    Above is taken purely from what I think is the right commands, as I have not tried working with home-assistant for a while.

    1 Reply Last reply
    1
    • D Offline
      D Offline
      DenisJ
      wrote on last edited by
      #28

      @tbowmo said in node-red-contrib-mysensors release thread:

      apt install build-essentials

      I think I have not the apt inside of Node_red docker.
      04b55f00-fe0e-4ab0-b0a3-a2e4762158f8-image.png

      Can I install it from outside in this case.
      Sorry but I'm very beginner so I need some basic info in this case.

      Thanks a lot again
      Denis

      1 Reply Last reply
      0
      • electrikE Offline
        electrikE Offline
        electrik
        wrote on last edited by
        #29

        In Home Assistant you have the Node Red configuration (under supervisor). There you can add packages to be installed under system_packages: []

        1 Reply Last reply
        1
        • D Offline
          D Offline
          DenisJ
          wrote on last edited by
          #30

          @electrik said in node-red-contrib-mysensors release thread:

          system_packages
          I have try to insert in the system_packages like this:

          86f16d43-4072-42b7-8a5b-a0eaf72ed908-image.png

          But it give me errore when start:
          cff61c5d-af7d-433f-b61b-4020f2bd7858-image.png

          I think I'll make some translate node by my self
          Thanks a lot again

          Denis

          1 Reply Last reply
          0
          • electrikE Offline
            electrikE Offline
            electrik
            wrote on last edited by electrik
            #31

            Shouldn't it be

            build-essentials
            

            ?

            1 Reply Last reply
            1
            • D Offline
              D Offline
              DenisJ
              wrote on last edited by
              #32

              @electrik said in node-red-contrib-mysensors release thread:

              build-essentials

              I try it but it give me same errore.
              efe0a31c-b22f-4edb-b186-f4e0157e0eb4-image.png

              I think that that package must be here in this link like the error log tell
              Do you have Home Assistant installed ? if yes... do you have this "essentials" installed also ?
              Thanks again
              Denis

              1 Reply Last reply
              0
              • electrikE Offline
                electrikE Offline
                electrik
                wrote on last edited by
                #33

                Yes I have home assistant but don't have the build essentials. I did some more reading and it seems like a package of build tools. Perhaps @tbowmo knows which specific one is needed?

                T 1 Reply Last reply
                1
                • D Offline
                  D Offline
                  DenisJ
                  wrote on last edited by
                  #34

                  No problem @electrik I have already set the Node-Red to translate my node sensor in human leggibile data :-)
                  d1a67cd0-fb8d-4e79-833f-a246ef208f5b-image.png

                  And now I can see it like this:
                  681efe88-e2e9-4ff8-8090-835fe1763a20-image.png

                  All ok and thanks a lot for the help
                  Denis

                  1 Reply Last reply
                  0
                  • electrikE electrik

                    Yes I have home assistant but don't have the build essentials. I did some more reading and it seems like a package of build tools. Perhaps @tbowmo knows which specific one is needed?

                    T Offline
                    T Offline
                    tbowmo
                    Admin
                    wrote on last edited by
                    #35

                    @electrik

                    When I said that you needed the package "build-essentials" I assumed that you where running on a barebone ubuntu distribution, and not in docker. This complicates things, but it seems that others do have the same issue with node-red and sqlite on home-assistant forum.

                    One solution is given here: https://community.home-assistant.io/t/how-to-get-access-to-sqlite-on-hassio/241439/3

                    As said earlier I do not know anything about the internals in home-assistant and their specific docker / node-red setup.

                    1 Reply Last reply
                    1
                    • D Offline
                      D Offline
                      DenisJ
                      wrote on last edited by
                      #36

                      @tbowmo said in node-red-contrib-mysensors release thread:

                      e-assistant and their spe

                      Thanks a lot @tbowmo

                      Denis

                      1 Reply Last reply
                      0

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      19

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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