Really appreciate your help thanks @flopp
just wondering for normal nrf24l01+ not the PA LNA one, what level are you using? (no sure if mine are original since i bought them from Aliexpress i have my doubts).
user1306
@user1306
Best posts made by user1306
-
RE: MySensors 2.2.0 released
Latest posts made by user1306
-
RE: 💬 Debugging Sensors and the Gateway
I’m using Arduino Nano connected through Serial
radio is nrf24l01+ PA LNA connected to the 3.3 converter module and powered separately -
RE: 💬 Debugging Sensors and the Gateway
@mfalkvidd
Thanks, and please let me know if i can help in some way -
RE: 💬 Debugging Sensors and the Gateway
my home has many sensors all built on my sensors library, (around 40 devices and 80+ sensors) as you can imagine it’s big network.
from time to time messages don’t get through, and when a sensor first start it take a long time to connect.
i was doing some testing the other day and i left the debug on the gateway turned on, and noticed things are working 10 times better, sensors connect immediately i can send multi command at the same time and they all reach their target (Home assistant turning multiple lights).
is this normal? did anyone notice this as well?not sure why, maybe the delay it creates when it writes to Serial is making it work better?
-
RE: Node stops receiving after some time when using MY_RX_MESSAGE_BUFFER_FEATURE
@Mathea90 did you find a solution for this?
After enabling MY_RX_MESSAGE_BUFFER_FEATURE my Serial gateway stops receiving messages. it usually takes about 8 to 12 hours.
i'm using NRF24L01+LNA+PA and arduino nano.when i added the buffer feature, i felt like my nodes were working better so i would like to keep using it, however with lockup it makes it useless.
thanks
-
RE: MySensors 2.2.0 released
Really appreciate your help thanks @flopp
just wondering for normal nrf24l01+ not the PA LNA one, what level are you using? (no sure if mine are original since i bought them from Aliexpress i have my doubts). -
RE: MySensors 2.2.0 released
i have another simple question regarding the RF24_PA level.
in the config file i see that its default to RF24_PA_MAX. does this mean that if i dont include anything in my sketch the node will default to MAX?
i read somewhere that this could cause the node to fail sometimes if there's not enough current going through, since most of my nodes are run on battery i would like to know if its necessary to modify this?Thanks
-
RE: MySensors 2.2.0 released
Thanks all for the help
@flopp i added the line like you mentioned.
i added it as S_SOUND, V_LEVEL seem to be working fine, thanks. Lets hope Domoticz will include it soon. -
RE: MySensors 2.2.0 released
thank you very much for the hard work
i'm very interested in #define MY_SIGNAL_REPORT_ENABLED
So apologies for the stupid question but do i need to just enable this on the Node side or also the Gateway, or Config.h (because i saw it was commented out)?
Do you know if this is supported by Domoticz?thanks in advance
-
RE: Smart button / scene controller
thanks you for mentioning the Onebutton thing, i wasnt aware of it and its really helpful.
now to report battery, i used the build from my sensors mentioned here https://www.mysensors.org/build/battery
just follow these steps and you should be fine.
you need to create a voltage divider (a 1MΩ (R1) and 470KΩ (R2) resistor in series)
Battery V to R1, then R1 to R2, and R2 connected to battery GND. then the point the resistor meet in the middle add a wire to A0#define CHILD_ID_BATTERY 1 int BATTERY_SENSE_PIN = A0; // select the input pin for the battery sense point int oldBatteryPcnt = 0; MyMessage voltage_msg(CHILD_ID_BATTERY, V_VOLTAGE); Setup () { // use the 1.1 V internal reference #if defined(__AVR_ATmega2560__) analogReference(INTERNAL1V1); #else analogReference(INTERNAL); #endif } void loop() { delay(20); int sensorValue = analogRead(BATTERY_SENSE_PIN); delay(20); int batteryPcnt = sensorValue / 10; float batteryV = sensorValue * 0.003363075; Serial.print(batteryV); if (oldBatteryPcnt != batteryPcnt) { // Power up radio after sleep sendBatteryLevel(batteryPcnt); oldBatteryPcnt = batteryPcnt; } }
you can also remove it from the loop and create its own function and call it when the sensor wakes up.
the reason i added delay before and after the analogRead is to let the battery settle a bit so you wont get wrong reading -
RE: LCD Clock and Text sensor node with new V_TEXT
thanks guy for the help,
what i'm trying to do, is send text to the display (16x2) using both lines (dont really need the time on top), and attach a 4 button keypad on it. then have these buttons sends commands (on.off) to Domoticz which will trigger Event and send that data/text back to the display.
if i manage to figure it out i'll post my code.