💬 OH MySensors RGBW Controller
-
@ThetaDev Maybe you you could get away with it but especially the radio is very sensitive concerning the power supply. Cheap pro minis often use very cheap regulators too and then this might become a problem.
I also wanted to support the high power version of the NRF and that definitly needs more power than provided by the onboard regulator. -
Hi
How i can modify sketch files INO to use it with radio RFM69HW with this adaptaer:
https://www.openhardware.io/view/16/NRF2RFM69#tabs-design -
I never tried that but as far as I know you have to tell Mysensors to use a different kind of radio by adding a define like:
#define MY_RADIO_RFM69Just do a quick search on this forum though ;)
-
I only had Home Assistant installed for some days (did not really like it at the time) so I can't tell you that it works 100% but it did back then. You have to add some strange additional messages but I tried to integrate that into my code.
I am using my RGBW controllers with openhab 2 in one location and with domoticz in another. As it is controlled by MySensors it works (and looks) pretty much like any other mysensors node. Both installations run on 2.2. Hope this helps :) -
I only had Home Assistant installed for some days (did not really like it at the time) so I can't tell you that it works 100% but it did back then. You have to add some strange additional messages but I tried to integrate that into my code.
I am using my RGBW controllers with openhab 2 in one location and with domoticz in another. As it is controlled by MySensors it works (and looks) pretty much like any other mysensors node. Both installations run on 2.2. Hope this helps :)@lastsamurai
Very thanks for info. I try build and test with Home Assistant. -
Mmmmm... How much have you pushed this board? I mean, in terms of load.
I just had one fail at me and I'm trying to understand what component may have been the weak link.It was driving a 5m white stripe when it turned himself off and on again, but although the light was still on the node was down. I took it out and almost burned my hand. Not the mosfets, but the arduino and radio. Nothing seems bad (components good looking, arduino seems to start) but as soon as you apply 12v, even without load it starts the barbecue.
It seems that the mosfets are good to 4,2Ah if I understand it. So what would be the boards specs? :thinking_face:
-
@gohan As you suspected, it was 12v.
-
@gohan Yeah, but what is not that intiutive for me is why when load increases in the mosfets side, the ams regulator goes away.
Anyways, no one knows what max led strip length is this board good for?
-
@gohan Yeah, but what is not that intiutive for me is why when load increases in the mosfets side, the ams regulator goes away.
Anyways, no one knows what max led strip length is this board good for?
@sergio-rius A little late, sorry, but that depends on the mosfets you are actually using. I am driving ~5m strips of white leds with most of my controllers and they don't even really get hot.
There is also a big(ish) update from my side concerning this project: I have designed, 3d printed and tested my own case for the controllers and they work great. I have just added the stl files and some images to the project page!!
For now this project is done from my side. The controllers have been working great for the past 2 years but due to the "huge" (~1s) delay with my Mysensors network (with signing and openhab on a raspi) when switching the leds I am currently testing some MQTT and wifi based RGBWW controller boards as an alternative.
-
Hi
I build this project but i want use it with radio RFM69HW and controller Home Assistant. But it not working with Home Assistant. Not connect with gateway on my RPI3b+. Other node with this radio connect ok. I dont know why ?Radio works and show this:
| / |_ / | ___ _ __ ___ ___ _ __ ___
| |/| | | | _ \ / _ \_ \/ __|/ _ \|_/ __|
| | | | || || | / | | _ \ _ | | _
|| ||_, |/ ___|| ||/_/|| |/
|__/ 2.2.016 MCO:BGN:INIT NODE,CP=RPNNA---,VER=2.2.0
26 TSM:INIT
28 TSF:WUR:MS=0
30 TSM:INIT:TSP OK
32 TSM:INIT:STATID=61
34 TSF:SID:OK,ID=61
36 TSM:FPAR
1038 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
3045 !TSM:FPAR:NO REPLY
3047 TSM:FPAR
4050 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6060 !TSM:FPAR:NO REPLY
6062 TSM:FPAR
7065 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
9072 !TSM:FPAR:NO REPLY
9074 TSM:FPAR
10076 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
12083 !TSM:FPAR:FAIL
12085 TSM:FAIL:CNT=1
12087 TSM:FAIL:DIS
12089 TSF:TDI:TSL
22093 TSM:FAIL:RE-INIT
22095 TSM:INIT
22097 TSM:INIT:TSP OK
22099 TSM:INIT:STATID=61
22104 TSF:SID:OK,ID=61
22106 TSM:FPAR
23109 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
25116 !TSM:FPAR:NO REPLY
25118 TSM:FPAR
26120 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
28127 !TSM:FPAR:NO REPLY
28129 TSM:FPAR
29132 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
31139 !TSM:FPAR:NO REPLY
31141 TSM:FPAR
32143 TSF:MSG:SEND,61-61-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
34150 !TSM:FPAR:FAIL
34152 TSM:FAIL:CNT=2
34154 TSM:FAIL:DIS
34156 TSF:TDI:TSL -
This from gateway:
pi@hassbian:~/MySensors $ sudo ./bin/mysgw -d
mysgw: Starting gateway...
mysgw: Protocol version - 2.2.0
mysgw: MCO:BGN:INIT GW,CP=RPNGL---,VER=2.2.0
mysgw: TSF:LRT:OK
mysgw: TSM:INIT
mysgw: TSF:WUR:MS=0
mysgw: TSM:INIT:TSP OK
mysgw: TSM:INIT:GW MODE
mysgw: TSM:READY:ID=0,PAR=0,DIS=0
mysgw: MCO:REG:NOT NEEDED
mysgw: Listening for connections on 0.0.0.0:5003
mysgw: MCO:BGN:STP
mysgw: MCO:BGN:INIT OK,TSP=1
mysgw: TSF:MSG:READ,61-61-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=61
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-61-61,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
mysgw: TSF:MSG:READ,61-61-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=61
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-61-61,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
mysgw: TSF:MSG:READ,61-61-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=61
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-61-61,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
mysgw: TSF:MSG:READ,61-61-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=61
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-61-61,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
mysgw: TSF:MSG:READ,61-61-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=61
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-61-61,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0Other node works ok with this gateway.... Only this RGNW not working.
This is log from gateway with connectionm with other node:
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
mysgw: TSF:MSG:PINGED,ID=30,HP=1
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
mysgw: TSF:MSG:READ,30-30-0,s=255,c=0,t=18,pt=0,l=5,sg=0:2.2.0
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=11,pt=0,l=24,sg=0:Cover Roleta Sypialnia__
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=12,pt=0,l=4,sg=0:20.0
mysgw: TSF:MSG:READ,30-30-0,s=1,c=0,t=5,pt=0,l=21,sg=0:Roller Shutter for HA
mysgw: TSF:MSG:READ,30-30-0,s=21,c=0,t=29,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,30-30-0,s=41,c=0,t=29,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=29,pt=2,l=2,sg=0:1
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=45,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=0,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=44,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=0,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:99
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:98
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:97
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:96
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:95
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:94
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:93
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:92
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:91
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:90
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:89
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:88
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:87
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:86
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=31,pt=2,l=2,sg=0:1
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:86
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=45,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=0,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=44,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=0,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=31,pt=2,l=2,sg=0:1
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:86
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=45,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=0,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=44,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=0,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:87
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:88
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:89
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:90
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:91
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:92
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:93
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:94
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:95
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:96
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:97
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:98
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:99
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=29,pt=2,l=2,sg=0:1
mysgw: TSF:MSG:READ,30-30-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=45,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=21,c=1,t=0,pt=2,l=2,sg=0:60
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=44,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-0,s=41,c=1,t=0,pt=2,l=2,sg=0:55
mysgw: TSF:MSG:READ,30-30-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=30
mysgw: TSF:PNG:SEND,TO=0
mysgw: TSF:CKU:OK
mysgw: TSF:MSG:GWL OK
mysgw: !TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
mysgw: TSF:MSG:READ,30-30-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=30
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
mysgw: TSF:MSG:PINGED,ID=30,HP=1
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
mysgw: !TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=11,pt=0,l=24,sg=0:Cover Roleta Sypialnia__
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=12,pt=0,l=4,sg=0:20.0
mysgw: TSF:MSG:READ,30-30-0,s=1,c=0,t=5,pt=0,l=21,sg=0:Roller Shutter for HA
mysgw: TSF:MSG:READ,30-30-0,s=21,c=0,t=29,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,30-30-0,s=41,c=0,t=29,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,30-30-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
mysgw: TSF:MSG:SEND,0-0-30-30,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 -
I found one bug in your project PCB. Pin from radio nae IRQ should be connect on PCB to pin 2 ARDUINO. But it is not connect. Also when i use radio RFM69HW i also need connect PIN 2 Arduino to pin DI00 on radio RFM69HW. This should be correct... Now pin 9 from radio is not connect to any pin Arduino.
On RFM69HW all works ok. In previus post my radio is fix.
-
Hi
Is any chance to implement in sketch option to Node after connect power go to state OFF. Now it go to ON. In situation when power lost and come back all leds will be ON.and is any chance to implement in your sketch option to add manual button to enable LEDS color WHITE ?
Any color i want to setup by gateway but on the wall i want mount switch to enable color white and also to disable.
Please add this if you can... In sketch setup pin on which button works and also color which should be turn on....