Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Adam McCartney
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Adam McCartney

    • RE: 💬 MySensor Dioder (Ikea)

      i take it i could use an Arduino nano and not have to worry about the voltage Regulator? it can take 5v or 3.3v meaning i already have all the parts to replicate this with my existing Dioder setup..:)

      posted in OpenHardware.io
      Adam McCartney
      Adam McCartney
    • RE: Forum Creation here is nuts

      Do you really spend that much time writing responses?

      if your neck is aching from looking at the box then your screen isn't setup properly.

      posted in General Discussion
      Adam McCartney
      Adam McCartney
    • RE: Getting the Ethernet/ESP8266 gateway to act as client instead of server

      Personally, i dont like the idea of my controller being on someone elses Box. I have all i need on the RPi. Plus, if my internet connection goes down, i can still turn my lights off!

      Domoticz allows you to join up controllers so you can still have access to other controllers in other houses. Its worth having a look.

      posted in Development
      Adam McCartney
      Adam McCartney
    • RE: Getting the Ethernet/ESP8266 gateway to act as client instead of server

      This isn't what you're looking for, but whats stopping you hosting the controller in your own home and using a VPN or internet facing controller behind security or using a VPN on your phone?

      i currently run Domoticz and have a Domain pointed at a Raspberry pi in my house. access outside the internal network requires a username and password, but recently i setup OpenVPN so that when connect to the VPN on my phone, i can use the Domoticz app or access the Domoticz web interface without having to setup Authentication.

      posted in Development
      Adam McCartney
      Adam McCartney
    • RE: Is there a mysensor thread for this "mysensor" pro mini adapter?

      @NeverDie I've got a few sensebenders and the range isn't great on them. i'm beginning to wonder if its because of the way the Radio is mounted of the PCB.

      posted in Hardware
      Adam McCartney
      Adam McCartney
    • RE: new serial gateway

      i had this issue the other day too when i restarted my gateway and controller (Ethernet Gateway powered by RPi Domoticz Controller).

      I had to go and find and restart each of my nodes. it was rather annoying.

      Is there a way to broadcast somekind of remote restart command? even if the Nodes dont broadcast to the gateway, maybe the Nodes can listen for a restart command?

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: How to: set your power/watermeter for domoticz on rpi

      you know you can install sqlite using apt?

      sudo apt-get install sqlite
      

      saves a LOT of compile time.

      posted in Domoticz
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      RF24_PA_LEVEL is currently set to RF24_PA_MAX
      and
      RF24_PA_LEVEL_GW is currently set to RF24_PA_LOW

      I've also noticed that i must have written over my config at some point cause the channel is back at 76 instead of 110 where my spectrum is clearer.

      i'll rebuild all the nodes tonight and see what i can get after switching channels and setting the RF24)PA_LEVEL to LOW.

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      No, I still need to get round to making a repeater that will sit between the Bedroom Node and the Gateway. Unfortunately i haven't found the time recently to do it.

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Wall mounted 'mood light'

      @AWI said:

      // V_TEXT & V_INFO when not using the DEVELOPMENT version
      const byte V_TEXT = 47 ; // values taken from development edition MyMessage.h
      const byte S_INFO = 36 ;

      awesome, thanks!

      I'm more of a butcher than a surgeon. I can quite happily take things apart, but fixing things usually goes right over my head!!

      posted in My Project
      Adam McCartney
      Adam McCartney
    • RE: Wall mounted 'mood light'

      @mickaelr30 , did you ever get this working with 1.5?

      i've got the upgrade instructions, but struggling to reverse it so it works with my current setup. Don't think i'm quite ready to upgrade all my nodes to dev quite yet.

      posted in My Project
      Adam McCartney
      Adam McCartney
    • RE: fatal error: ets_sys.h: No such file or directory

      Never mind, bad installation of an old IDE on a Raspberry pi made this all go a bit wonky.

      I'll try with a newer IDE built from Source.

      posted in Development
      Adam McCartney
      Adam McCartney
    • fatal error: ets_sys.h: No such file or directory

      Hi,

      i'm currently trying to use ino to build a sketch for some ws2812b LEDs. in particular i'm using the Sketch found here: http://forum.mysensors.org/topic/2169/wall-mounted-mood-light/8

      but i'm getting the error below. i've installed ESP8266 Libraries as instructed on their Github page.

      can anyone help with the problems below?

      pi@gatekeeper ~/dev/arduino/rgb_node_with_effects $ ino build -m nano328
      Searching for Board description file (boards.txt) ... /usr/share/arduino/hardwar                                   e/arduino/boards.txt
      Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/                                   version.txt
      Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4)
      Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores                                   /arduino
      Searching for Arduino standard libraries ... /usr/share/arduino/libraries
      Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino                                   /variants
      Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
      Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
      Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
      Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
      Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objc                                   opy
      src/rgb_node_with_effects/rgb_node_with_effects.ino
      Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/                                   version.txt
      Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4)
      Scanning dependencies of src
      Scanning dependencies of arduino
      Scanning dependencies of Robot_Control
      Scanning dependencies of FastLED
      /usr/share/arduino/libraries/MySensors/core/MyMainESP8266.cpp:3:21: fatal error: ets_sys.h: No such file or directory
       #include "ets_sys.h"
                           ^
      compilation terminated.
      .build/nano328/Makefile.deps:254: recipe for target '.build/nano328/MySensors/core/MyMainESP8266.d' failed
      make: *** [.build/nano328/MySensors/core/MyMainESP8266.d] Error 1
      Make failed with code 2
      
      
      posted in Development
      Adam McCartney
      Adam McCartney
    • RE: Board for Arduino Nano + nRF24l01 + Sensors

      you might have to give us a bit more information mate.

      what exactly are you trying to achieve?

      posted in Hardware
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      So, i setup one of my Sensebender nodes with this Sketch to see what the interference was like. i think i understand why i've such bad signal now.

      My default channel is 76 (comes pre-set in MySensors). you can see the noise below.

      Starting Poor Man's Wireless 2.4GHz Scanner ...
      
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111
      0000000001111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000111111111122222222
      1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
               11121  21          1   11                   1         1  994 141 1     1                                             11
                                                        55      5 5   5  9 9            5                                             
      21 1131 1311111   31  132  1221                   1   242  233 16489461  22   121 2 1                                          1
      11    11 1111 12  121 1123112311        1112111111 11 113111111122991531 121    1  1                                           1
         9                       9                             9 9    9  9         9   99                                             
      252 75          2  97 25                            22 299 55     22  25  97  2 2                                               
      1     11   33   1 31        3                         31 1    1 13963331   1     1 1                                          1 
        1                       1   1                     1 1   1    122961 1        12  1                                            
          2422222         22222244444 22222244444422222 2224248666844 844646896464464 2                                               
         21     21          11     1 11                         11     189         1  11                                              
      3    33                  33                            333369393  963 63333     3  3                                            
      36663 3 3336663 36 6693 639636  36               33  363696  3 36 6699366 6693 333 3                                          33
       63 663   663 3 33 36 66633  33 33                   33 36 696  39966  33 36333393                                            3 
      3669333 36993 36966663 33  3336333                3333336669 33 669633996699333                                               33
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111
      0000000001111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000111111111122222222
      1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
      2 22  5225 22 22        2525225                   22      2  52 9522 252255     25 22                                           
                                    9                     9                            99                                             
       9                                                 9 99  99           9  99 9   9 9                                             
        5                                                       5  5    99      55    555                                             
                                  5 5                     5 5555    9  5 9559  5 5 5  5  5                                            
      11 1                                        1    11 6131 673775 97667656333231  1                                               
        2                          2                    2248266 44842244896246498822  2222                                            
        2                           5                      2  7 7 52    792 2 222       2                                             
                                   2                     5  227972 5522599 22 72 5 52 2 25                                            
                                   5                     2222  72 7  25799522 2227    55                                              
             1                    1            1      1111 21238475937618424562963 311 1 1                                            
                                                     1121414232554644747964475464542111 1                                             
      11                                               3243567345463548688667547996 211                                               
                                     1                  1   1  5211 111199 1   152      1                                             
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111
      0000000001111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000111111111122222222
      1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
                                                            3  311 1   195  13    11 11111                                            
                                   1                       1213213121 86987653 5511                                                   
        1                                                     1       96999            1                                              
                                   1                           1   2  98775             1                                             
      1                                                               1197              11                                            
                                                                     1119831           3                                              
                                                         11122582713453198452454521     11                                            
       1             11111     111                       11 111125324299975 4121321    1 1                                            
      1                                               111112475554556397984134564331 11  1                                            
                                  1                    1  11312215 2 3968881532513 1 1                                                
         1                                                 11 11     192985   2 11 1  2  2                                            
      1 1                                             1 2123312 4224329599324411211    2                                              
                                                        111 1231112215668912212  2211 1  1                                            
                                  1                          2233 475335991131 243     2                                              
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111
      0000000001111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000111111111122222222
      1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
       2                             4                           9468 2622 44          4                                              
       11                         1                             2576255911525   1     1111                                            
      1 1                                                1  221 2733127898621352421   11                                              
                                  1                           1 469846648866646253    11                                              
         1              1                                   1 1149976962458674431                                                     
        1            1111                                       356388999535958633    1111                                            
         1                        1                       1  11144655976915847564       1                                             
      1                                                      1  546458592642545511                                                    
        55                                                     5   5                  995                                             
      11285           25223772     1                       1322395           33122751  111                                          22
      7 5792522 255272552  597555 55 2                  2  2   255772  75752277  2772 22 2                                          22
       22 25 97  55 25  52  5725552                      22 2772277595  97  2  522252222 2                                            
      

      i'm off to reload all my nodes onto a different channel!

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Control adressable RBG strips

      I'm using some (102 to be exact) WS2812B LEDs connected to and arduino nano and NRF24L01.

      using the Sketch found Here, the light shows up as a dimmable RGB Light.

      currently working perfectly in Domoticz.

      Dim-RGB.JPG

      posted in Feature Requests
      Adam McCartney
      Adam McCartney
    • RE: IKEA UTRUSTA

      is the wireless reciever simply an on off switch?

      posted in General Discussion
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      Thats awesome, i'd been wondering how i can check the network interference.

      Cheers mate, i'll give this a go soon as i can!

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      That thought had crossed my mind. Its a Dual band Router, but unfortunately a lot of the devices don't support 5Ghz.

      I have a Main server in my office that i could i could connect the gateway to and make make it a network gateway that way.

      I think my best option is to create an ethernet gateway anyway.

      Thanks for all your help.

      I'll try moving the gateway away from the router and see how that effects everything.

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      ok, thanks for the advice. i was originally using it with power straight from the Raspberry PI USB, but now i'm wondering if i change from a Serial Gateway to a standalone ethernet gateway and attach the gateway to the Network in a more central postition in the house. Currently its beside my router which is the furthest you can get from the other side of the house.

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      I'm using an arduino nano so i'm using the 3.3v pin to the NRF Radio while feeding 5v in. Is that not regulated?

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Node cant see gateway less than 10m Away.

      i bought a batch of 10 so will see if i can find a better one.

      failing that its back to the drawing board! RFM12/RFM69 probably, although annoying i soldered the NRF24 radios directly to my sensebender micro's. 😞

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • Node cant see gateway less than 10m Away.

      I live in a small End of terrace house so its not big by any stretch of the imagination but i'm struggling to see nodes i've setup that are no more than 10m away.

      i'm using a raspberry pi with Domoticz as the controller, connected to a serial gateway using an arduino nano clone and NRF24L01+. the nodes are all sensebender micro with NRF24L01+ powered by 2XAA.

      the nodes close by the gateway are fine, but the ones in the bedroom are sporadic at best.

      I read that RF_250KBPS has a good 250m range. i'm stuggling to get a fraction of that.

      i've got a 4.7capacitor on the gateway Radio, and its currently being powered by a seperate 5v 10a power supply i had.

      Can any one point in the right direction to figure out what the issue is?

      posted in Troubleshooting
      Adam McCartney
      Adam McCartney
    • RE: Getting Check wire error, yet both devices are talking to each other.

      no, i've got a capacitor bridging the NRF module Power feed too to stabilise the power to that.

      I'll keep an eye on the ser2net feed and see if there anything untoward happening!

      posted in Domoticz
      Adam McCartney
      Adam McCartney
    • RE: Getting Check wire error, yet both devices are talking to each other.

      They are driven by a separate 5v 10amp power supply. originally i was using this to power the Arduino but i'm now using USB to debug the connection.

      posted in Domoticz
      Adam McCartney
      Adam McCartney
    • Getting Check wire error, yet both devices are talking to each other.

      Hi,

      I've currently got a very basic setup.

      1. Serial gateway connected to Raspberry Pi 2 running Domoticz using the standard Gateway Sketch available on this site.
      2. Arduino Nano Clone with nRF24L01 connected to some WS2812B (102 of them infact) via Pin 6 using the Sketch found in this post.

      The problem is that after a while i get the Check Wires error when trying to change the colour or turn the RGB Strip off.

      I have connected the RGB Strip arduino to the Raspberry pi for debugging so i can watch the output of both devices.

      Here's the output that i logged when trying to change the Strip

      Gateway:

      [Change Brightness]
      0;0;3;0;9;send: 0-0-254-254 s=0,c=1,t=3,pt=0,l=2,sg=0,st=ok:37
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=3,pt=0,l=2,sg=0:37
      254;0;1;1;3;37
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=24,pt=0,l=11,sg=0:00FBFF&94&1
      254;0;1;0;24;00FBFF&94&1
      0;0;3;0;9;send: 0-0-254-254 s=0,c=1,t=3,pt=0,l=2,sg=0,st=ok:37
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=3,pt=0,l=2,sg=0:37
      254;0;1;1;3;37
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=24,pt=0,l=11,sg=0:00FBFF&94&1
      254;0;1;0;24;00FBFF&94&1
      0;0;3;0;9;send: 0-0-254-254 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=2,pt=0,l=1,sg=0:0
      254;0;1;1;2;0
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=24,pt=0,l=11,sg=0:00FBFF&94&0
      254;0;1;0;24;00FBFF&94&0
      
      
      
      
      
      [Switch Off]
      0;0;3;0;9;send: 0-0-254-254 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=2,pt=0,l=1,sg=0:0
      254;0;1;1;2;0
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=24,pt=0,l=11,sg=0:00FBFF&94&0
      254;0;1;0;24;00FBFF&94&0
      
      
      [Switch On]
      0;0;3;0;9;send: 0-0-254-254 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=2,pt=0,l=1,sg=0:1
      254;0;1;1;2;1
      0;0;3;0;9;read: 254-254-0 s=0,c=1,t=24,pt=0,l=11,sg=0:00FBFF&94&1
      254;0;1;0;24;00FBFF&94&1
      

      RGB Strip

      [Change Brightness]
      read: 0-0-254 s=0,c=1,t=3,pt=0,l=2,sg=0:37
      send: 254-254-0-0 s=0,c=1,t=3,pt=0,l=2,sg=0,st=ok:37
      send: 254-254-0-0 s=0,c=1,t=24,pt=0,l=11,sg=0,st=ok:00FBFF&94&1
      read: 0-0-254 s=0,c=1,t=3,pt=0,l=2,sg=0:37
      send: 254-254-0-0 s=0,c=1,t=3,pt=0,l=2,sg=0,st=ok:37
      send: 254-254-0-0 s=0,c=1,t=24,pt=0,l=11,sg=0,st=ok:00FBFF&94&1
      read: 0-0-254 s=0,c=1,t=2,pt=0,l=1,sg=0:0
      send: 254-254-0-0 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
      send: 254-254-0-0 s=0,c=1,t=24,pt=0,l=11,sg=0,st=ok:00FBFF&94&0
      
      
      
      [Switch Off]
      read: 0-0-254 s=0,c=1,t=2,pt=0,l=1,sg=0:0
      send: 254-254-0-0 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
      send: 254-254-0-0 s=0,c=1,t=24,pt=0,l=11,sg=0,st=ok:00FBFF&94&0
      
      
      [Switch On]
      read: 0-0-254 s=0,c=1,t=2,pt=0,l=1,sg=0:1
      send: 254-254-0-0 s=0,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
      send: 254-254-0-0 s=0,c=1,t=24,pt=0,l=11,sg=0,st=ok:00FBFF&94&1
      

      Am i correct in thinking that this is more likely an issue with the RGB Strip? Or the wiring to it anyway? if the Devices are talking to each other i cant see what else it might be?

      Thanks.

      Adam

      posted in Domoticz
      Adam McCartney
      Adam McCartney