Hi there!
Short Story:
I need to connect a MySensor Serial Gateway communicating with the serial port with 57600 bauds instead of the standard 115200 bauds.
Is there any way to configure this under Domoticz running on windows 7 (64 bits)?
Long Story:
I’m being using Arduino and MySensors for a month aprox. I’ve installed Domoticz at my house without any issue (around 20 sensors & actuators).
After researching a little bit, I decided to install Domoticz in my work, to monitor around 20 temperature sensors (for frozen storage). I install Arduino and MySensors but I was unable to get any readable information from the Serial monitor. If I try a standard sketch with 9600 bauds I get normal output.
Trying to figure out what was wrong, I tried to “slow” down MySensors and I start with 9600 bauds, and everything works fine. I also tried other speeds until I reach the max speed of 57600 bauds. Anything quicker will get garbage output from the Serial Monitor.
So it seems that for a reason I was not able to figure out, the max speed for my MySensors network will be based on 57600 instead of the standard 115200 bauds.
Having said that, it is possible to “slow” down Domiticz so is able to get readable info from my Serial Gateway (USB Gateway) at that speed?
MySensors Serial Gateway & Domoticz with 57600 bauds
Moderator: leecollings
-
- Posts: 12
- Joined: Wednesday 08 April 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MySensors Serial Gateway & Domoticz with 57600 bauds
Just my 2c, but I would avoid changing the baud rate and stick to modifying the MyConfig.h file. The datarate is set there.
Code: Select all
#define RF24_DATARATE RF24_250KBPS //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps
#define RF24_PA_LEVEL RF24_PA_MAX //Sensor PA Level == RF24_PA_MIN=-18dBm, RF24_PA_LOW=-12dBm, RF24_PA_HIGH=-6dBM, and RF24_PA_MAX=0dBm
Re: MySensors Serial Gateway & Domoticz with 57600 bauds
Hahi, thanks for your reply.
IMHO, the problem resides on the serial port, rather than the radio configuration. Why, because the output should be independent of the radio messages… but of course I’m not sure about this.
Will try your suggestion, and give you feedback about the outcome.
Thanks again,
IMHO, the problem resides on the serial port, rather than the radio configuration. Why, because the output should be independent of the radio messages… but of course I’m not sure about this.
Will try your suggestion, and give you feedback about the outcome.
Thanks again,
Who is online
Users browsing this forum: No registered users and 1 guest