It's in the development branch.
How do you plan to use it? Sounds fascinating, but I haven't quite been able to wrap my head around it.
nagelc
Posts
-
Pjon Script -
Sketch Names in Home Assistant - ResolvedI like the joke : )
I'll try to keep it simple. Most of my sensors are just reporting temperature and humidity. Since I can assign them to a room in home assistant. They don't need anything fancy.
-
Sketch Names in Home Assistant - ResolvedI moved my MySensors nodes from Domoticz to Home Assistant. Domoticz didn't really do anything with the sketch name. Home Assistant uses it in the device names.
I had named my sketches by processor and function, BT8_BME280 for example. This makes sense when programming, but makes the device names in Home Assistant seem rather random.
I can have the sketch present anything want for a sketch name. Maybe using just the node function would be better?
Anyone have a naming system that makes sense in Home Assistant?Update. There is a lot of thinking about this online. For example: https://github.com/Trikos/Home-Assistant-Naming-Convention
But also, I can rename in home assistant, so doing it in the sketch isn't that important. -
MySensors Gateway Controller Failed to ACK I_FIND_PARENT Request from NodeYour analysis of the problem seems correct.
This sounds very frustrating, and I am afraid I can't help much.From your earlier post, the transport is just shutting down because it had too many failed attempts to find a parent. That is normal operation. My memory is that it will just try again after a while.
-
Support for CC1101 radiosNice. I know there are RFM69's, but I've seen quite a few requests for the CC1101. Always good to have options.
I did something similar with the WIO-E5 chips in my repo. The E5 is not quite ready for prime time, but the basics are working.
I have many MySensors nodes, and still adding more. Good to see some new code for it. -
Newbie: confused by the jargon, needing simple guidance...@Meldrew-s-mate Hi. This site is about building sensors using Arduino that report data back wirelessly to a gateway. There may be some useful information here, but it doesn't sound like what you are really looking for. Try searching on the web for Cerbo GX and Home Assistant. Home Assistant is a popular home control program. Someone may have already figured out how to connect to it, or you might get a link to something helpful.
-
New Setup for Home Environment Monitoring – Using NRF24L01+, Arduino Pro Mini, and BME280@lostintheethes Sounds like a nice set up. I have had good luck with bme280's without doing anything special. I usually get about a year out of a coin cell battery. I check the temperature every 3 minutes, but I don't send unless it changes more than .1 I haven't really tested accuracy, but it seems about right.
-
BT832X PA / LNAHas anyone developed a PA LNA driver for the BT832X (Fanstell NRF5 module)? Works quite well without it, but wondering if could be even better.
@NeverDie , you had a remote control using PA. Was there any additional code for that from stock MySensors NRF5? Did you ever do anything with the LNA part? -
💬 MySensors Library - v2.x: ) That looks right. I have not written a receiveTime function for years and have just been copying the one in MockMySensors over and over.
-
Getting system time from the controllerI have found that controllers can be very slow to respond to time requests. Same experience for Domoticz and for Homeassistant. Try a wait(1500) after the time request.
-
Compiling Sensor code using BME280 and ESP8266I didn't see anything obviously wrong, so I tried compiling your code. Your code compiled fine for me. I used ESP8266 Boards (2.5.0-Beta3) -> Generic ESP8266 Module.
Unfortunately, that doesn't help much with figuring out why your compiler is giving the error. -
Adding Listen only device to my system.This is only a partial answer.
You have to implement a function on the node to receive the data: void receive(const MyMessage &message)
Go to this page https://www.mysensors.org/download/sensor_api_20 and scroll down to "Handling incoming radio messages".
I'm pretty sure I have seen someone on this site doing exactly what you are looking for, but I didn't find it when I looked. They had a node with an LCD display they could send text to.
Hope this gets you started : ) -
Nb of possible nodes in a mysensors networks with domoticzAnother thing to check if you updated MySensors after a long time. The update overwrites the MyConfig.h file. If you had any custom settings in that file, you have to go back and reset them. This used to get me because I use 915Mhz with the RFM69 radios. Updates would change it back to the default, and I would have to go change it back.
-
Wio-E5 (STM32 and SX1262)Quick Range Check on the WIO-E5-LE. The LE version uses only the low power PA, +14dBm max. Using the default settings except for 915MHz
#define MY_SX126x_FREQUENCY (SX126x_915MHZ) #define MY_SX126x_LORA_SF LORA_SF7 #define MY_SX126x_LORA_BW LORA_BW_125 #define MY_SX126x_LORA_CR LORA_CR_4_5I get about 190 meter range, just walking around the neighborhood, line of site except for some trees and power lines.
No tuning on the antenna. Just using a 77.9mm wire.
Not as dramatic as some have achieved with LoRa radio's, but plenty good enough for my house and yard : ) -
Running out of nodeId's@GLAB You can set the frequencies using the settings in MyConfig.h, which is in the MySensors folder. If you put any of the defines from MyConfig.h into your sketch, they will override the MyConfig.h setting for that sketch only.
If you are using the RF24 radio, there are different channels which correspond to a given frequency. The default is channel 76. There is a list of typical channels in MyConfig.h. If you want to change the channel for all the sketches, change it in MyConfig.h. If you want to change it just for the sketch, add a define to the sketch. For example:#define MY_RF24_CHANNEL (84)The problem with changing the channel in a sketch is that the gateway has to be on the same channel to receive from the node. So, normally it makes sense to change in MyConfig.h because you usually want the gateway and all the nodes on the same channel.
Other radio's like the RFM69 list the frequency instead of using a channel. They can be overridden in the sketch as well. You can find the defines that are needed in MyConfig.h
-
Sensor to detect marijuana vape/smokeSounds like a challenging problem. Maybe an air quality sensor would help? I don't know if pot smoke would trigger one of those at the levels you are concerned about. The BME680 is supposed to be a good sensor for air quality. I haven't used it, and some others on this site have not been that impressed. See this thread: https://forum.mysensors.org/topic/12197/best-voc-sensor-for-detecting-a-wide-range-of-voc-s
Maybe look at some law enforcement sites to see if there is anything they use (besides dogs : ).
-
Code Garage to the rescue.Adding my thanks!
I know it's been quiet around here lately, but my google site search of the MySensors site is still one of my most used links. -
Nb of possible nodes in a mysensors networks with domoticzIf you haven's already, add #define MY_DEBUG to your sketch. Then, look at the serial output from the node.
If you see sancheck fail, then something is probably wrong with the wiring.
You can also paste the serial output into the decoder here: https://www.mysensors.org/build/parser
That should give you more readable info about what is gong on. -
Nb of possible nodes in a mysensors networks with domoticzYou should be able to add up to 254 nodes on one gateway.
You might be able to get some info from the Domoticz log. In Domoticz, go to Setup->Log.
If you reset your new node, you should see messages showing the presentation info and maybe the first values.
If you don't see that, double check your hardware.
If you do see it, it should be in the Setup->Devices list. -
Long time test done with soil sensor!@Nicklas-Starkel
8 years -- amazing! I have temperature sensors that get over 2 years on a pair of AA batteries, but they do read every 3 minutes: )