[contest] My 12 input high precision pulse counter (kWh/ W)
-
Ive updated the libraries and uploaded it to my arduino nano, in the serial of my comport it says: radio init fail.
is the radio module needed to get it working? and does it connect with the emonPI of emon base http://openenergymonitor.org/emon/guide ?
now the display still shows blocks on the first line just like before, is this because the RF module is not present? -
Ive updated the libraries and uploaded it to my arduino nano, in the serial of my comport it says: radio init fail.
is the radio module needed to get it working? and does it connect with the emonPI of emon base http://openenergymonitor.org/emon/guide ?
now the display still shows blocks on the first line just like before, is this because the RF module is not present?@RCF The radio is needed to have the MySensors stuff working otherwise you will get the "radio init fail" message and block the execution of the code. This sketch is not meant for anything else than MySensors. If you want to connect it to emon or anything else it can serve as inspiration...
-
i just ordered one at ebay, where does your radio module communicated with? with a server ?
i think it should also be possible to connect pin 9 and 10 to an ethernet module right? i would like to setup an emoncs server for openremote (openremote.org) on my Synology NAS -
i just ordered one at ebay, where does your radio module communicated with? with a server ?
i think it should also be possible to connect pin 9 and 10 to an ethernet module right? i would like to setup an emoncs server for openremote (openremote.org) on my Synology NAS@RCF Maybe you should start here -> http://www.mysensors.org/about
-
Yes i understand that this is for extra sensors http://www.mysensors.org/about/network but when i do not have any external sensors the radio module should be there anyway
-
I've uploaded both sketches without errors, but can't get any readings when i check the serial monitor? Also it doesn't say anything about the communication with the gateway.
What's wrong? What should i check?
@MarkV Hi Mark, good hear you are trying to get it working. You need two arduino's which one is not showing serial information? You first need to get the "measurement" arduino working. This one is supposed to spit out JSON strings. Second you try the "master".
-
I've connected everything, but it says:
11-11-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=fail:1.5
What does this mean?? What does the fail mean?
Also the sensors don't show up in Domoticz.
And now i'm getting al sort off strange signes:
-11-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=fail:1.5
11-11-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
.W J‘õ11, parent=0, distance=1
LLKLLKj‚šõ255,c=3,t=11,pt=0,l=18,sg=0,st=fail:AWI-12ChannelPulse
LLKLLKj‚šõ255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0
LLKLLKj‚šõ0,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ1,c=0,t=13,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=2,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ3,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ4,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ5,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ0,c=2,t=18,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=1,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ2,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ3,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ4,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ5,c=2,t=18,pt=0,l=0,sg=0,st=fail:
¢¥µ•5
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=1,c=2,t=18,pt=0,l=0,sg=0,st=fail:
Y‹é 11-11-0-0 s=255,c=0,Y‹é 11-11-0-0 s=25óYk½É�started, id=11,equesting time
JsonParser.parse() failed
¢¥µ•5
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ2,c=2,t=18,pt=0,l=0,sg=0,st=fail:
–‹é 11-11-0-0 s=25Í–‹é 11-11-255-255`¾ò–‹é 11-1Y‹é 11-ñequesting time
JsonParser.parse() failed -
I've connected everything, but it says:
11-11-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=fail:1.5
What does this mean?? What does the fail mean?
Also the sensors don't show up in Domoticz.
And now i'm getting al sort off strange signes:
-11-0-0 s=255,c=0,t=17,pt=0,l=3,sg=0,st=fail:1.5
11-11-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
.W J‘õ11, parent=0, distance=1
LLKLLKj‚šõ255,c=3,t=11,pt=0,l=18,sg=0,st=fail:AWI-12ChannelPulse
LLKLLKj‚šõ255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0
LLKLLKj‚šõ0,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ1,c=0,t=13,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=2,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ3,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ4,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ5,c=0,t=13,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ0,c=2,t=18,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=1,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ2,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ3,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ4,c=2,t=18,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ5,c=2,t=18,pt=0,l=0,sg=0,st=fail:
¢¥µ•5
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
find parent
LLKLLK¦SSIªªšõ255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
11-0-0 s=1,c=2,t=18,pt=0,l=0,sg=0,st=fail:
Y‹é 11-11-0-0 s=255,c=0,Y‹é 11-11-0-0 s=25óYk½É�started, id=11,equesting time
JsonParser.parse() failed
¢¥µ•5
LLKLLKj‚šõ255,c=3,t=1,pt=0,l=0,sg=0,st=fail:
LLKLLKj‚šõ2,c=2,t=18,pt=0,l=0,sg=0,st=fail:
–‹é 11-11-0-0 s=25Í–‹é 11-11-255-255`¾ò–‹é 11-1Y‹é 11-ñequesting time
JsonParser.parse() failed -
Good evening,
It took a while but i wanted to check everything and see what i can do about it by myself.
And.... still no luck, except that i have a running ethernet GW, plus a DHT11 Humidity/temperature sensor up and running.My pulse counter is also running and i'm getting output on the usb, normal output haha.
Also the gateway is able to see the counter.
Domoticz sees the gateway, the only problem is, that it doesn't add the sensor to it.
The strange part is that is does add the humidity/temperatuur arduino.
I've pressed the "add new sensors for 5 minuts" button and still no luck.
I've also installed MYScontroller and when i connect through tcp i get the following:

Arduino Sketch serial monitor:

What's wrong, what did i do wrong and what should i do to fix it??
-
Good evening,
It took a while but i wanted to check everything and see what i can do about it by myself.
And.... still no luck, except that i have a running ethernet GW, plus a DHT11 Humidity/temperature sensor up and running.My pulse counter is also running and i'm getting output on the usb, normal output haha.
Also the gateway is able to see the counter.
Domoticz sees the gateway, the only problem is, that it doesn't add the sensor to it.
The strange part is that is does add the humidity/temperatuur arduino.
I've pressed the "add new sensors for 5 minuts" button and still no luck.
I've also installed MYScontroller and when i connect through tcp i get the following:

Arduino Sketch serial monitor:

What's wrong, what did i do wrong and what should i do to fix it??
@MarkV Good morning ;-) the issue you are having is probably due to the fact that Domoticz sometimes creates sensors after actual data is received (i.s.o. when presenting). The original sketch won't start sending data until it receives something. (line 111 in code above). Also Domoticz is not able to to "send" data values, I had to tweak it myself...
The whole dependency on the controller gave me a lot of headaches. Therefore I decided to rework the whole thing in an independent version. This one is running stable for a few weeks now with a "standard (beta)" version of Domoticz.The code and hardware is similar but requires some attention. i.e. you need different and the newest libraries. Just drop me a note if you need any assistance.
-
Thanks for the commet and i defently need some help.
Sorry i didn't see your "new" post about the pulse counter.I'm uploading the sketches now.
I only got one question, what should i uncomment in the sketches when i'm not using the display and counter?And when i got this working, is it possible to add to other sensors, a CNY70 (reflector sensor) to readout a water and gas meter? (but this is the next step ;-) )
I also installed the beta version from domoticz.
-
Thanks for the commet and i defently need some help.
Sorry i didn't see your "new" post about the pulse counter.I'm uploading the sketches now.
I only got one question, what should i uncomment in the sketches when i'm not using the display and counter?And when i got this working, is it possible to add to other sensors, a CNY70 (reflector sensor) to readout a water and gas meter? (but this is the next step ;-) )
I also installed the beta version from domoticz.
-
-
Hi @AWI!
The GIT link is broken. Can I find your sketch for this counter elsewhere?
I would like to implement this counter as a "local sensor" on an ethernet gateway without radio. I guess this would require some tweaking but right now I'm confident. x)
Thanks!