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. MyController.org
  4. MyController+Domoticz at same time?

MyController+Domoticz at same time?

Scheduled Pinned Locked Moved MyController.org
33 Posts 9 Posters 14.7k Views 12 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.
  • mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #21

    Thanks a lot for your help @fets
    I got it working, finally! Not sure exactly what I did to get it working (I tried literally hundreds of things) but if someone has a similar problem, this might help:

    • Don't ever use npm -g. It is discouraged by the npm people, it is really broken when run with sudo and it is probably not what you want anyway.
    • For the node-red shipped with Domoticz's Raspberry pi image, run npm as the pi user when standing in the /usr/lib/node_modules/node-red folder
    • npm rebuild seems to be useful
    • npm ls is useful for troubleshooting. It shouldn't report any errors if everything is alright, but things seem to seldom be alright.
    • Have a lot of patience, npm is seriously slow on a Raspberry Pi

    Anyway, now I have Serial as input and output block in nodered. :sparkles:

    fetsF 1 Reply Last reply
    0
    • crankyC Offline
      crankyC Offline
      cranky
      wrote on last edited by cranky
      #22

      You'll also probably want node-red-contrib-mysensors and a few other modules on flows.nodered.org

      I use TOR extensively for being able to nicely manage and manipulate data on my network securely. The trick is a few things:

      TOR: Providing a Hidden Service to SSH and HTTPS
      Node-Red: Self-signed certs, HTTPS, and user authentication turned on.
      Mosquitto: Providing MQTTSSL. node-red-contrib-mqttssl provides support for that

      But hek was gracious to make a "Controller>Node-Red" subforum, so come join me there!

      Edit: also, because npm is sometimes really braindead sometimes, try using -debug with whatever you're doing. It will many a times make it work where without debut will just hang forever.

      1 Reply Last reply
      1
      • mfalkviddM mfalkvidd

        Thanks a lot for your help @fets
        I got it working, finally! Not sure exactly what I did to get it working (I tried literally hundreds of things) but if someone has a similar problem, this might help:

        • Don't ever use npm -g. It is discouraged by the npm people, it is really broken when run with sudo and it is probably not what you want anyway.
        • For the node-red shipped with Domoticz's Raspberry pi image, run npm as the pi user when standing in the /usr/lib/node_modules/node-red folder
        • npm rebuild seems to be useful
        • npm ls is useful for troubleshooting. It shouldn't report any errors if everything is alright, but things seem to seldom be alright.
        • Have a lot of patience, npm is seriously slow on a Raspberry Pi

        Anyway, now I have Serial as input and output block in nodered. :sparkles:

        fetsF Offline
        fetsF Offline
        fets
        wrote on last edited by fets
        #23

        @mfalkvidd congrats

        @cranky thanks I noticed the new subforum and already follow it

        1 Reply Last reply
        0
        • ErrKE Offline
          ErrKE Offline
          ErrK
          Plugin Developer
          wrote on last edited by ErrK
          #24

          @mfalkvidd do you have both MyController and Domoticz on the same Raspberry Pi?
          I will start from the Domoticz Raspberry Pi image and then try to install MyController.
          I use a ESP8266 gateway. Do you have any tips before i start?

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

            Yes I use the same raspberry pi for both controllers. You probably need the newer models with 1GB ram.

            I'm not really using mycontroller yet, have not spent time working with it.

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #26

              I tried both on a ethernet gw, but both freeze after some minutes. This has worked before but when domoticz included the gateway ping it begun. Im.now using domoticz and ethenret and build a serial gw and run with mysc for ota updates.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              petewillP 1 Reply Last reply
              0
              • ErrKE Offline
                ErrKE Offline
                ErrK
                Plugin Developer
                wrote on last edited by
                #27

                @mfalkvidd i have the new Raspberry pi 2.
                The installation was simple.
                But i now i only have my gateway in MyController. Using Domoticz for my z-wave.

                @sundberg84 ok.
                Are you using MYSbootloader or Dualoptiboot?

                1 Reply Last reply
                0
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #28

                  @ErrK MYSBootloader, i showed Tekka this so he is aware of the problem.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  ErrKE 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @ErrK MYSBootloader, i showed Tekka this so he is aware of the problem.

                    ErrKE Offline
                    ErrKE Offline
                    ErrK
                    Plugin Developer
                    wrote on last edited by
                    #29

                    @sundberg84 ok.
                    I will try with MYSBootloader.
                    Need to figure out how to do it on osx.
                    Have only find the tutorial for windows yet.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jkandasa
                      Plugin Developer
                      wrote on last edited by
                      #30

                      Currently we are working for MyController 0.0.3 version. almost done. we will release it soon. It has many changes in front end(Enterprise level) and back end.

                      If you want to try, please compile yourself from development branch https://github.com/mycontroller-org/mycontroller or let me know I will post compiled image.

                      It will be helpful for MyController if you report any issue on this 0.0.3 version, we can fix it before release

                      beta testers required...

                      If you want MyController in your language send request here https://www.transifex.com/mycontrollerorg/gui-angularjs/

                      1 Reply Last reply
                      0
                      • sundberg84S sundberg84

                        I tried both on a ethernet gw, but both freeze after some minutes. This has worked before but when domoticz included the gateway ping it begun. Im.now using domoticz and ethenret and build a serial gw and run with mysc for ota updates.

                        petewillP Offline
                        petewillP Offline
                        petewill
                        Admin
                        wrote on last edited by
                        #31

                        @sundberg84 said:

                        I tried both on a ethernet gw, but both freeze after some minutes. This has worked before but when domoticz included the gateway ping it begun. Im.now using domoticz and ethenret and build a serial gw and run with mysc for ota updates.

                        Can you describe this a little more? I have been experimenting with Domoticz as a secondary controller (on a Raspberry Pi using Node-Red) but my Ethernet Gateway has been crashing fairly regularly (about once a every other day on average). I'm not totally sure where the problem is occurring but it seems to be related to my Pi setup. If I shut the Pi down the Ethernet Gateway seems to stay alive longer (I haven't had too much time to test this theory though because I'm testing a sensor with the Pi). I also recently updated to 1.5.1 so I'm not sure if that has anything to do with it. Previously I was on 1.4.1 and the gateway ran for months without any issues. Just thought I'd reach out to you since it seems you may have had a similar issue. Thanks!

                        My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                        1 Reply Last reply
                        0
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #32

                          @petewill My Domoticz crashed 30sec after i connect Myscontroller to same ethernet gateway. Also Myscontroller seems to crash and when i disconnect Myscontroller, Domoticz resets the connection and reconnects itself with a error in the log.

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                          petewillP 1 Reply Last reply
                          0
                          • sundberg84S sundberg84

                            @petewill My Domoticz crashed 30sec after i connect Myscontroller to same ethernet gateway. Also Myscontroller seems to crash and when i disconnect Myscontroller, Domoticz resets the connection and reconnects itself with a error in the log.

                            petewillP Offline
                            petewillP Offline
                            petewill
                            Admin
                            wrote on last edited by
                            #33

                            @sundberg84 Thanks! Ok, this behavior is different from mine. I was hoping we had a similar experience.

                            I just downgraded from the beta to the latest stable release. I'll see if that helps...

                            My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

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


                            10

                            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