Page 3 of 3

Re: DIY S0-pulsecounter ready2use with Domoticz (Arduino based)

Posted: Thursday 30 June 2016 9:56
by bbqkees
thecosmicgate wrote:
Running this code, but getting :

Code: Select all

2016-06-29 20:28:49.899 Error: S0 Meter: Invalid Data received! �5K^��w�=����I�?�y�9��q'�}��[���3����9�l�w����1);%���*��)c��o=�����?�=��?�b�}�����g�9�3����7����l�u�1��q�}���1!����o='ꧩ�?�yB�ʎ-{�9�}���;��3��������g�}�3�!�!�����i��)c��oy������k�/s�yB�?�+��}�}�!;*�u���I�}�}�w���1��5���
2016-06-29 20:28:59.517 Error: S0 Meter: Invalid Data received! �5K^��&��
what did i do wrong ?

and @bbqkees : did you got a new sketch with the inital value set ?
Nobody can help you if you do not provide details on what you did and what sensor etc you connected.

I did make the sketch, but I cannot find it anymore on my pc.

Re: DIY S0-pulsecounter ready2use with Domoticz (Arduino based)

Posted: Monday 05 September 2016 21:04
by wobbenl
U have the wrong speed selected it must be 9600 Baud

// Via the serial port of the Pi you can set the initial counter values.
// do this while the Arduino is connected to the Pi but Domoticz is not running.
// Set the serial port to 9600 Baud.
// If not set, the counter will not start updating.