Found the answer in this tread
https://forum.mysensors.org/topic/1086/getting-childid-from-incomingmessage/6
Will try this
if (message.type==V_LIGHT && message.sensor==3)
Found the answer in this tread
https://forum.mysensors.org/topic/1086/getting-childid-from-incomingmessage/6
Will try this
if (message.type==V_LIGHT && message.sensor==3)
Hi,
I am building a simple remote on/off based on the IR sender example.
It uses a light switch to send IR commands (one command for on and one command for off)
Now I want to add a second switch as a new child, and send some other ir codes.
But I can understand how to the message is adressed to a child device? Can anyone point me inte the right direction.
"" if (message.type==V_LIGHT) {
int incomingRelayStatus = message.getInt();
if (incomingRelayStatus == 1) {
irsend.send(NEC, 0x1EE17887, 32); // Vol up yamaha ysp-900
} else {
irsend.send(NEC, 0x1EE1F807, 32); // Vol down yamaha ysp-900
}
// Start receiving ir again...
irrecv.enableIRIn();
} ""
Hi,
I wonder if anyone modified the original sensebender sketch to include a door sensor?
Do you need a pullup? If you have a sketch somewhere I would be happy if you could send/post it, as I have problem finding time to code right now.
Hi,
Thank you for this pcb. In which program did you do the design? Do you think you can share an editable version of the design?
I would like to modify it to accept the Mean Well IRM-05-5 instead of the Hi-Link.
It is more expensive and bigger AC-DC circuit but since I hace some in my stash i would like to use them.
Tested a new nano,and radio same problem.
I think the problem is in the vera...
I have the same problem. Downloaded 1.6.5 it works fine.
Hi All,
My myensors sensors stopped worling sunday morning 9.08. After working stable for 2 years. All sensors except one is not updating. (This sensor sends its information via a repeater node. The repeater node does also have a DHT, but its values are not updated)
I have a relay connected via mysensors, I can toggle it on/off (the mode changes on the node) but the state does not change in the vera ui.
In panic yesterday I did backup the vera and factory restore, and then restored the backup. Mysensors came online again, but stopped working during the night again.
When I check the vera log I do not see any incoming fraffic from mysensors.
Where do I start my trouble shooting?
Running vera ui5 1.5.622
Mysensors 1.5 serial gateway
Hi Toni,
inally I was able to fetch the Dakikin remote from my cabin. What type of software did you say you use to decode the remote?
Hi,
I built my serial gateway like two years ago and it is running smooth with nRF24L01+ PA+ LNA
I remember a had to fiddle with the power setting. Since I am now replacing it with a Ethernet gateway, I plan to use a ld1117v33 to power the radio. It can give 800ma so it should be suffcient to runt it without power issues.
Did anyone have experience with this? Do you recommend I should set Pa_level to high or Max?
ToniA, I can collect the Daikin remote from my cabin during next week. I have the following IR-reciever, is it enough to decode it per your instructions?
ToniA,
Where are you based? I maybe can send you my remote, if I am sure to get it back
I think it will be a challenge to send all the information with only 25 bytes.
You can use an optocoupler, I have done so to read an 12V signal from my alarm system. Check CNY17 for example.
Upgrading repeater to 1.5 solved this issue. Thanks for the quick help. 1.4 sensors communicate OK with the 1.5 repeater as far as I can see right now.
You are probably right. I did not realise sense bender was pre loaded with 1.5
I think easiest for me would be to downgrade sense bender to 1.4 is it possible?
Hi,
My sense bender works perfect when sending directly data directly to serial gateway (vera 5), however when I move it out of range to the serial gateway and want it to connect to my repeater node it does not want to discover the repeater node. Anyone else had this problem?
I think it is an power issue, the le33cz I use can supply max 100ma, the bigger radio can use up to 115ma according to the data sheet. I have ordered some ld1117v33 to use with the reapeter nodes which I use with the antenna version of the radio, hopefully they solve the problem
I vad the same issue when upgrading to 1.4
In my case solved by adding 47uf capacitor instead of 4.7uF.
And I also had to change transmit power from max to high.
@viking said:
@johnr great idea! i have spent a few days considering this myself. Have you put any thought in to how it will be integrated to the socket? My concern is that I'd like to re-use the existing mechanical buttons in the house, connecting the arduino as a multi-way connection (swedish: trapp-koppling) to be able to use both mechanical buttons and non-mechanical. For existing multi-way connections I was thinking of adding the arduino as a "cross" (Swedish: korskoppling) in between to facilitate that but that would require two relays
Would it not be easier to connect the wall switch to a digital in on the arduino? It is the way the fibaro/qubino/ etc wall switches work. Double relays seems like overshooting when you can Control each relay by remote signal.
Actually I was thinking to create a plugin adapter and use something similar to this http://www.ebay.com/itm/MAD-140-ABS-Plastic-Box-Adapter-Enclosure-Case-Hobby-Electronic-Project-/161113131266?pt=LH_DefaultDomain_0&hash=item2583174902
It could accomodate both socket outlet, tempsensor, and proximity sensor, hopefully.
If you would like to but your sensor behind a wall socket, I Think you will need a much smaller Power supply. CHeck this thread:
http://forum.mysensors.org/topic/687/230v-power-supply-to-arduino/2
Especially this Power supply is mentioned which looks nice:
http://fr.rs-online.com/web/p/alimentations-a-decoupage-integrables/7719379/
But I do fell that It have enough Electronics skill to integrate it safely right now.
Hi thanks for the feedback.
For 230v -> 5v I am going to test the Mean Well irm-05-5.
It is definitely not the cheapest you can find, but I was able to get an ok price for them. It is capsuled which I think is nice, and like I stated above I would like to use quality components for the high voltage parts.
I am working on a PCB for a wall switch. Since I would like to use quality components for the 230V parts, I am lookin for best quality / price relay.
What do you think about Omron ALQ305 ?
https://www.elfa.se/elfa3~se_sv/elfa/init.do?item=37-071-30&toc=18836
Do you suggest to use an optocoupler for safety?
servicexp, no I guess it have only over current protection.
I am going to test a smaller 5w converter. MW irm-05-5 which I was able to get for a ok price through work. It has also smaller physical dimensions.
Hi,
Sorry I Think I expressed myself to short and incorrect on my way to work.
I really like this Project. My personal problem is that when you have many sensors, sooner or later you run out of old chargers
Therefore for the relay (wallplug) it would be nice to find a small ac/dc power supply, which is easy to integrate into the breadboard/pcb.
The Meanwell that I linked to i also availible in 5w, but personally I had some problems in the past, with the current consumption of the relays, using sub wall-warts. This is why I am thinking 10w.
Mean well have nice quality but pricing is quite high. Would be nice to find an alternative with enough quality that you can trust that it wont burst into flames.
Edit: Mybe this tread is the correct one to discuss ac/dc converters. http://forum.mysensors.org/topic/687/230v-power-supply-to-arduino
Nice project.
I will build some plugs myself, but I would like to exclude the charger, we should be able to power the arduino directly from the ac plug.
I am thinking to use something like this
https://www.elfa.se/elfa3~tr_en/elfa/init.do?item=69-065-19&toc=19413
What do you think about it?
How far away are these today?
Hi,
Thank you for the inspiration. I skuld like to use this to control my Daikin heatpump in my cabin. Unfortunatley I am not able to travel there for I while to access the remote. I think I need it to analyze the signal since Daikin is not supported by the library you used.
I am thinking just two buttons (on 22 degrees/ on 10 degrees)
Did you stumble over any Daikin codes while working on this project?
Maybe it is possible to use the code these guys decoded http://www.hifi-remote.com/forums/viewtopic.php?t=11769
Using the example but cant get the sensor to include in the vera controller.
If I use the scetch for the DHT sensor everything works, so I thing wiring should be OK.
Serial interface says: send:sensor started, id 0
Vera log says:
Arduino: Log: read: 0-0-0 s=255,c=0,t=17,pt=0,l=5:1.4.1 <0x2ee59680>
luup_log:25: Arduino: Presentation: 0;255;0;0;17;1.4.1 <0x2ee59680>
Any ideas?