Closed Yves911 closed 10 years ago
Nice work.
protocol
to type
lib/...
Then I'm finally happy :)
Should be ok now :-) I am going to update sender part to have it in sync
Nice, I will add a gerneric sensor device to pimatic-homeduino.
Super thanks, i have a request about the generic sensor. Let me explain, i want to use the generic sensor to measure gas and electricity consumption, the arduino won't know the current value on the gaz meter, the arduino will send only a number that will increase each time that 1 unit is consumed. That means on pimatic side it could be great to be able to add the value that you receive from the generic device to an initial value. for example if i have on my electricity meter : 12647 kw/h and if i consume 2kw/h, pimatic should display 12649 kw/h
So we need a option updateMethod
= replace
or add
?
I would say that i need a method to add what i receive over the air to an existing value. But some other persons would like to replace the values (ie take the value as it comes, or add 0 then ;-) )
So you would like to set a baseValue
in pimatic and the current value is computed as value = baseValue + message.value
on a new message?
Yes this is exactly that
thread about that : https://github.com/pimatic/pimatic/issues/295 all suggestions are welcome !