Hi,
I have a small problem: I am using the Gateway Mysensor EPS8266 WIFi.
Everything is correctly working except the leds:
in the code mysensor code , there is:
// Flash leds on rx / tx / err
// Led pins used if blinking feature is enabled above
define MY_DEFAULT_ERR_LED_PIN 16 // Error led pin
define MY_DEFAULT_RX_LED_PIN 16 // Receive led pin
define MY_DEFAULT_TX_LED_PIN 16 // the PCB, on board LED
I replaced by:
// Flash leds on rx / tx / err
// Uncomment to override default HW configurations
#define MY_DEFAULT_ERR_LED_PIN 1 // Error led pin
#define MY_DEFAULT_RX_LED_PIN 3 // Receive led pin
#define MY_DEFAULT_TX_LED_PIN 4 // the PCB, on board LED
and it does not work: the LEDs are always half-on.
can You tell me if these pins are used for other things and only PIN16 is available for the user ?
Thanks for your help
Gerard
Thank you for great project. I built it, it works fine except occasionally it starts flashing red when was left along for couple of hours without any objects moving in front of the sensor. It happens at least couple times per day. Sensor replacement did not fix it. The only way to get out of it is to restart Arduino. Any idea what is going on?
Found fix for this problem at https://forum.mysensors.org/topic/1734/parking-sensor/57 by Dan.S. Please update the library.
Hi
Thank you for your reply and I understand that, if you look at the code you will see that pin 3 isn't named/defined in the coed. Unless I am missing something
Thanks
I was wondering about the lengths for the antennas mentioned on this page.
For 868Mhz is mentioned a length of 82.2 mm on this page. The length most often mentioned over the internet - as first result of the 1/4 wave calculation - is 86,5mm.
Searching a little deeper through the internet, i found that the antenna should be "a little shorter". Then they end up with around -1cm shorter or something around or more.
One page mentioned the physically effect that the wave is moving in chopper around 5% slower as the theoratical speed. If i substract 5% of 86,5mm i end up with the here mentioned 82,2mm.
I was very suprised about the different "approaches" for such a basic thing as antenna length every single . As most of the application over the internet seem to work somehow with all that different lengths, it seems to be just a fine-tuning thing.
Anyway, i think it would be nice to mention this details here because most people will wonder about the 82,2mm in the first view...
best regards
Jens
I see there is a possibility the combine Ethernet with RS485.
Maybe you can check the setup as they did here:
https://www.openhardware.io/view/649/RS485-Ethernet-Gateway#tabs-comments
https://github.com/feanor-anglin/GetWired-Project/blob/master/GetWired Ethernet Gateway/Gateway.ino
@joaoabs A realy usually has only 2 states, on and off. So I would use S-BINARY and V_STATUS every time.
A changeover realy also has 2 states so again I would go for binary and status.
Light_Level is more suited to getting light levels from a sensor or sending a light level to a dimmable light.
My next issue is the humidity seems to be off. It has read as high as 115% humidity. Is this normal or should I be considering a correction? If so, how would I enter a correction. Its a little odd considering it states that the accuracy is much tighter than that.