@ahmedadelhosni Its still wery new and the implementation is based on dimmer. This way you can get options from 0 to 100 and also its the reason the selector has separate on/off switch.
The problem is the mobile app. It just dont have proper implementation yet to show selector as buttons or dropdown.
@diggs I expect the first usable snapshot builds at the end of this week. They are located at: http://builder.pidome.org/view/Snapshot builds/job/PiDome clients collection/
These clients are build to provide ease of use. Data aggregation and details will stay on the server.
I use a reed switch on my gates - when they are in contact the gate is closed.
You could put more at the open points for fully open but I only cared about closed or not. I assumed for 20 secs after they started opening they are opening else they are open.
When I close the gate I assume closing until the reed switch shows closed - of course opening the gate during closing will reopen (I also have IR to detect car so gate will not close onto a car).
@dbemowsk The serial API (=communication between controller and GW) doesn't distinguish between different transport technologies used in a specific GW. So it's not important if a GW is using nRF, RS485, RFM69, none or whatever else as a transceiver.
@mfalkvidd Thanks
The idea of changing the pulseCount is correct. However I had set the value at the wrong place without realizing the pulseCount is reset at the Void setup() section.
// Water Reset pulsecount
pulseCountW = oldPulseCountW = 0;
// Zonnepanelen Reset pulsecount
pulseCountZ = oldPulseCountZ = 0;
The solution is
Change the 0 to : Value (meter) - Value (Controller)
Upload the sketch. wait until the first pulse is sent to the gateway.
If successed the controller (domoticz in my case) will show the total value matching the value on the physical meter.
Now change the value in the sketch back to 0. (Otherwise each time you reset the sensor or the gateway the value wil be added to the total value.) Upload the sketch to the sensor.
You are done. There is no need to Modify the Domoticz database with SQL tool.
You will get the value you've just added to the total value in the day value log. If you find this ignoring you can delete this value the next day. This only applies to Energy meter. Do not apply this to the water meter as the result the total value of the water meter will be gone too.