Pulse Powermeter
-
Hi I just complete and compile the pulse power-meter on lib 1.4.1 and I don't get any values back from the sensor. The pulse sensor is wire as per the instruction what can the problem be here?
Here is the info from the serial port:
send: 21-21-0-0 s=255,c=3,t=11,pt=0,l=12,sg=0,st=ok:Energy Meter
send: 21-21-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
send: 21-21-0-0 s=1,c=0,t=13,pt=0,l=5,sg=0,st=ok:1.4.1
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
-
I seem to have the same problem. Did you find any answer to this?
I get this reply from the serialmonitor:send: 9-9-0-0 s=1,c-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
sensor started, id 9
send: 9-9-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
send: 9-9-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
read: 0-0-9 s=255,c=3,t=6,pt=0,l=1:M
send: 9-9-0-0 s=255,c=3,t=11,pt=0,l=12,st=ok:Energy Meter
send: 9-9-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
send: 9-9-0-0 s=1,c=0,t=13,pt=0,l=0,st=ok:
send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
-
Looks like the sensor is requesting last known pulse count from the controller. Do you have anything answering this request?
-
No. Where do i insert this?
-
What controller are you using?
-
Domoticz
-
Sorry, I'm not using Domoticz myself... So I'm not sure where you fill in your pulse count in the GUI (VAR1). You should probably also check that Domoticz support requesting of VAR1-5.
-
Ok, so the sensor is requesting a number to continue the count? And there is no way to bay-pass this and insert my own?
-
Yes, you could hard-code the current pulsecount in the sketch. But then it will revert back to this value every time the sensor loses power and restart.
-
@hek You can't access these from the UI. He would have to write a sketch that sets this var. Not big deal but awkward. would have been nice if the VAR1-5 could be accessed.
-
You could also save the value every time in the eeprom, so when the sensor loses power it can recover the value.
-
Would it not be the MySensors gateway that should respond with the last pulse count?
-
@Tommy-Sharp the gateway is like the RFXTRX, it has no memory by design.