Just to add for those using Arduino IDE, downloading the latest development version of MySensors fixes the same issue. Just go to https://github.com/mysensors/MySensors and hit "Clone/Download Zip", Download the zip then add to Arduino (Sketch -> Include Library -> Add .Zip Library then select the zip you downloaded). You may need to delete the old library folder from Documents\Arduino\libraries to ensure the new version is used. This will be fixed with MySensors 2.3.2.
Posts made by dsiee
-
RE: [SOLVED] Error building ESP32 node: multiple definition of `app_main'
-
RE: Mysensors with RFM98
Thank you both! That looks exctly like what i need; I was looking in the wrong spot.
Cheers!
-
Mysensors with RFM98
Hi All,
I'm trying to migrate from RFM69 to RFM9x but need to use 433Mhz (legal in Australia). I have purchased rfm98 modules thinking they were just the 433Mhz rfm95's. I am now having issues getting anything to work.
I have simply declared the radio as rfm95 in the gateway and relay sketch which uploads and prints debug messages without any errors. I have not done anything in the sketches regarding radio frequency because i cannot find any documentation on how to do some for the RFM9x boards, only the old rfm69.
How should i be using the RFM98 with Mysensors? Any advice or pointers to where should be look would be greatly appreciated!
Cheers!
-
RE: [SOLVED] PCB / Circuit error diagnosis help
Solved
U2 which is a SPX1117 has the tab connected to GND while the tab is actually Vout (3V3) thus shorting 3v3 to GND. Diodes on the silk are incorrect too, however, i fixed that in assembly.
-
[SOLVED] PCB / Circuit error diagnosis help
I have had the following board made (https://easyeda.com/editor#id=|5199a48344e54083986d89e646be21ba|0c1847fa165742ae9f65d44d6042f223|fde959f19c7c4522b1fe0bf86f31f06b) however, I must have done something dumb as it just crashes my USBasp or Arduino as ISP as soon as i plug it in. I cannot seem to work it out though. I have soldered up two boards with almost all components and another with just the ATMega328PB, C3, M, C4 and the ISP Header. It has no shorts that i can detect with the multi-meter between any two pins on the IC or between GND and VCC.
​
Any help would be greatly appreciated!
​
PDF of PCB https://www.dropbox.com/s/zh9s1qclcvhet36/PCB_v02_20180923124443.pdf?dl=0
-
RE: Round-about way to make a sleepable relay node
@BartE Thanks so much! That explains just about everything i needed. Glad the see that message.sender exists as it was integral to my plan of attack!
Thanks again, I really appreciate it!
-
Round-about way to make a sleepable relay node
Hi all,
I'm trying to make a node which is solar powered to control a few relays to automate our sprinklers. In order to get power consumption to a reasonable, sustainable level i will need to sleep the nodes.
In order to allow the nodes to sleep without missing their messages to change state i am considereing employing a middle man node which the controller changes the state of the sprinkler on then the actual sprinkler nodes wake up, request the sprinkler state from the middle man node and change their state to suit. If the middle man node doesn't hear from the sprinkler node for a set period of time (say 10 mins) it changes the state of the sprinkler back to the original and pushes this change to the gateway (and thus controller) in the same way a button would.
Here is a crappy diagram of what im trying to achieve-
dropbox link it that doesn't work https://www.dropbox.com/s/amhwu6maicnxi5p/middle man node diagram.png?dl=0I'm encountering one main issues implementing this approach-
1- using the Requesting data function- how do i specify the varible i want? say the middle na node has an array of 20 sprinklers, what sprinkler node they are attached to, and their state. can i send the request for var1 meaning sprinkler one for the current node (node n) and then in the middle man node extract the destination node (the sprinkler node) id along with which custom variable requested (1 to 5) to tell which of the multiple attached sprinklers to turn on? Is there an example sketch using the request data function to get data from another node i can see (i couldn't find one)?
it is mainly the "handle the reply message yourself in the destination node" and extracting the node and sensor id from the state request message recieved by the middle man node parts i cannot solve. Can i just construct the msg using the constructors here http://www.mysensors.org/download/sensor_api_15#MyMessage ? judging from the message stucture the sending nodes id isn't included in the header, how is the middle man node to determine who to send the data back to?
sorry for all the questions, they seem little and i could probably resolve them myself if anyone has some examples of a node getting and receiving a variable from another node. Thanks for any and all input everyone!
BTW- Currently i have the nodes built and was planing on waiting for a controller to implement the smart sleep feature in mysensors 1.5, however i have given up on waiting. Adding the feature to domotics was beyond my abilities (i tried) unfortunately).
-
SmartSleep compatible controller?
Hi,
I am making a bunch of solar powered solinoids utalising MySensors and Domoticz. I am trying to reduce the power consumption of my nodes but obviously cannot send them to sleep. The new smartSleep feature seems like a perfect solution, however i cannot seem to find any controllers which support this. Does anyone know of any?
Tl;dr- Any smartsleep compatible controllers?
Thanks!