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
    #19
    pi@raspberrypi ~ $ sudo npm -g install node-red-node-serialport@0.0.5
    npm WARN lifecycle serialport@1.7.4~install: cannot run in wd %s %s (wd=%s) serialport@1.7.4 node-pre-gyp install --fallback-to-build /usr/local/lib/node_modules/node-red-node-serialport/node_modules/serialport
    /usr/local/lib
    └─┬ node-red-node-serialport@0.0.5
      └─┬ serialport@1.7.4
        ├── async@0.9.0
        ├── bindings@1.2.1
        ├─┬ debug@2.2.0
        │ └── ms@0.7.1
        ├── nan@1.8.4
        ├─┬ node-pre-gyp@0.6.7
        │ ├─┬ mkdirp@0.5.0
        │ │ └── minimist@0.0.8
        │ ├─┬ nopt@3.0.1
        │ │ └── abbrev@1.0.5
        │ ├─┬ npmlog@1.2.0
        │ │ ├── ansi@0.3.0
        │ │ ├─┬ are-we-there-yet@1.0.4
        │ │ │ ├── delegates@0.1.0
        │ │ │ └─┬ readable-stream@1.1.13
        │ │ │   ├── core-util-is@1.0.1
        │ │ │   ├── inherits@2.0.1
        │ │ │   ├── isarray@0.0.1
        │ │ │   └── string_decoder@0.10.31
        │ │ └─┬ gauge@1.2.0
        │ │   ├── has-unicode@1.0.0
        │ │   ├─┬ lodash.pad@3.1.0
        │ │   │ ├── lodash._basetostring@3.0.0
        │ │   │ └─┬ lodash._createpadding@3.6.0
        │ │   │   └── lodash.repeat@3.0.0
        │ │   ├─┬ lodash.padleft@3.1.1
        │ │   │ ├── lodash._basetostring@3.0.0
        │ │   │ └─┬ lodash._createpadding@3.6.0
        │ │   │   └── lodash.repeat@3.0.0
        │ │   └─┬ lodash.padright@3.1.1
        │ │     ├── lodash._basetostring@3.0.0
        │ │     └─┬ lodash._createpadding@3.6.0
        │ │       └── lodash.repeat@3.0.0
        │ ├─┬ rc@1.0.1
        │ │ ├── deep-extend@0.2.11
        │ │ ├── ini@1.3.3
        │ │ ├── minimist@0.0.10
        │ │ └── strip-json-comments@0.1.3
        │ ├─┬ request@2.55.0
        │ │ ├── aws-sign2@0.5.0
        │ │ ├─┬ bl@0.9.4
        │ │ │ └─┬ readable-stream@1.0.33
        │ │ │   ├── core-util-is@1.0.1
        │ │ │   ├── inherits@2.0.1
        │ │ │   ├── isarray@0.0.1
        │ │ │   └── string_decoder@0.10.31
        │ │ ├── caseless@0.9.0
        │ │ ├─┬ combined-stream@0.0.7
        │ │ │ └── delayed-stream@0.0.5
        │ │ ├── forever-agent@0.6.1
        │ │ ├─┬ form-data@0.2.0
        │ │ │ └── async@0.9.0
        │ │ ├─┬ har-validator@1.7.0
        │ │ │ ├── bluebird@2.9.25
        │ │ │ ├─┬ chalk@1.0.0
        │ │ │ │ ├── ansi-styles@2.0.1
        │ │ │ │ ├── escape-string-regexp@1.0.3
        │ │ │ │ ├─┬ has-ansi@1.0.3
        │ │ │ │ │ ├── ansi-regex@1.1.1
        │ │ │ │ │ └── get-stdin@4.0.1
        │ │ │ │ ├─┬ strip-ansi@2.0.1
        │ │ │ │ │ └── ansi-regex@1.1.1
        │ │ │ │ └── supports-color@1.3.1
        │ │ │ ├─┬ commander@2.8.1
        │ │ │ │ └── graceful-readlink@1.0.1
        │ │ │ └─┬ is-my-json-valid@2.10.1
        │ │ │   ├── generate-function@2.0.0
        │ │ │   ├─┬ generate-object-property@1.1.1
        │ │ │   │ └── is-property@1.0.2
        │ │ │   ├── jsonpointer@1.1.0
        │ │ │   └── xtend@4.0.0
        │ │ ├─┬ hawk@2.3.1
        │ │ │ ├── boom@2.7.1
        │ │ │ ├── cryptiles@2.0.4
        │ │ │ ├── hoek@2.13.0
        │ │ │ └── sntp@1.0.9
        │ │ ├─┬ http-signature@0.10.1
        │ │ │ ├── asn1@0.1.11
        │ │ │ ├── assert-plus@0.1.5
        │ │ │ └── ctype@0.5.3
        │ │ ├── isstream@0.1.2
        │ │ ├── json-stringify-safe@5.0.0
        │ │ ├─┬ mime-types@2.0.10
        │ │ │ └── mime-db@1.8.0
        │ │ ├── node-uuid@1.4.3
        │ │ ├── oauth-sign@0.6.0
        │ │ ├── qs@2.4.1
        │ │ ├── stringstream@0.0.4
        │ │ ├── tough-cookie@1.1.0
        │ │ └── tunnel-agent@0.4.0
        │ ├─┬ rimraf@2.3.3
        │ │ └─┬ glob@4.5.3
        │ │   ├─┬ inflight@1.0.4
        │ │   │ └── wrappy@1.0.1
        │ │   ├── inherits@2.0.1
        │ │   ├─┬ minimatch@2.0.7
        │ │   │ └─┬ brace-expansion@1.1.0
        │ │   │   ├── balanced-match@0.2.0
        │ │   │   └── concat-map@0.0.1
        │ │   └─┬ once@1.3.1
        │ │     └── wrappy@1.0.1
        │ ├── semver@4.3.3
        │ ├─┬ tar@2.1.0
        │ │ ├── block-stream@0.0.7
        │ │ ├─┬ fstream@1.0.4
        │ │ │ └── graceful-fs@3.0.6
        │ │ └── inherits@2.0.1
        │ └─┬ tar-pack@2.0.0
        │   ├── debug@0.7.4
        │   ├─┬ fstream@0.1.31
        │   │ ├── graceful-fs@3.0.6
        │   │ └── inherits@2.0.1
        │   ├─┬ fstream-ignore@0.0.7
        │   │ ├── inherits@2.0.1
        │   │ └─┬ minimatch@0.2.14
        │   │   ├── lru-cache@2.6.2
        │   │   └── sigmund@1.0.0
        │   ├── graceful-fs@1.2.3
        │   ├── once@1.1.1
        │   ├─┬ readable-stream@1.0.33
        │   │ ├── core-util-is@1.0.1
        │   │ ├── inherits@2.0.1
        │   │ ├── isarray@0.0.1
        │   │ └── string_decoder@0.10.31
        │   ├── rimraf@2.2.8
        │   ├─┬ tar@0.1.20
        │   │ ├── block-stream@0.0.7
        │   │ └── inherits@2.0.1
        │   └── uid-number@0.0.3
        ├─┬ optimist@0.6.1
        │ ├── minimist@0.0.10
        │ └── wordwrap@0.0.3
        └── sf@0.1.7
    
    
    1 Reply Last reply
    0
    • fetsF Offline
      fetsF Offline
      fets
      wrote on last edited by
      #20

      Sorry, I don't understand why it doen'twork. This is beyond my capabilities.
      May be you should erase all directories name serial and node-serial in /usr/lib/node_modules/node-red/node_modules and your local node_modules in case of conflits with previous attempts

      1 Reply Last reply
      0
      • 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


                                13

                                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