Guest
Login
Register
Home
Help
Search
Login
Register
more G-Labs products
This forum is soon going to be read-only.
Please join the new
HomeGenie community on Google+
HomeGenie Forum
General Category
Troubleshooting and Support
Wrong temperature reading with Vision Security ZP 3102
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Wrong temperature reading with Vision Security ZP 3102 (Read 1901 times)
February 24, 2014, 07:20:24 PM
Read 1901 times
Schnegg
Information
Newbie
Posts:
7
Wrong temperature reading with Vision Security ZP 3102
Hello,
I have three Vision Security ZP 3102 (
http://www.visionsecurity.com.tw/ha_products_page2_154_161.html
) it's a PIR sensor with temperature measurement.
For my three sensors, HG indicates me a temperature around -2.5°C.
The manual doesn't provide any specs for the temperature output so I think it's "standard". But I don't know if there is a standard zwave specification for temperature output.
Can anyone help me ?
Regards
Alexandre Schnegg
Logged
March 01, 2014, 01:17:17 PM
Reply #1
Schnegg
Information
Newbie
Posts:
7
Re: Wrong temperature reading with Vision Security ZP 3102
I'll try to change the code of the temperature calculation. Where's this code ?
Thank you for your help.
Regards
Alexandre Schnegg
Logged
March 01, 2014, 05:51:55 PM
Reply #2
Gene
Information
Administrator
Posts:
1472
Tangible is the future!
Re: Wrong temperature reading with Vision Security ZP 3102
Fork the code from github repository
https://github.com/genielabs/HomeGenie
.
Add a new product handler here:
https://github.com/genielabs/HomeGenie/tree/master/MIG/Support%20Libraries/ZWaveLib/Devices/ProductHandlers
make your class extends the Generic/Sensor.cs class as it happen for example with Aeon/DoorWindowSensor.cs.
Override the HandleMultiInstanceReport. See the base class method to understand how it's currently working:
https://github.com/genielabs/HomeGenie/blob/master/MIG/Support%20Libraries/ZWaveLib/Devices/ProductHandlers/Generic/Sensor.cs#L107
at line #170 you'll find the temperature reading.
When you get your code working submit it and then make a pull request.
Cheers,
g.
«
Last Edit: March 01, 2014, 06:00:29 PM by Gene
»
Logged
August 25, 2014, 12:42:43 PM
Reply #3
da_zalama
Information
Newbie
Posts:
2
Re: Wrong temperature reading with Vision Security ZP 3102
Hi
i got the same problem ..
its a bit shame because the sensor PIR part works fine .. only cosmetic fault is that the temperature shows wrong... any hope for the new device Handler ?
Logged
August 25, 2014, 05:33:36 PM
Reply #4
Schnegg
Information
Newbie
Posts:
7
Re: Wrong temperature reading with Vision Security ZP 3102
Hello,
The datasheet isn't very clear about the temperature measurement (range and value sent) so it's a bit tricky to do the new handler.
Regards
Alexandre Schnegg
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
HomeGenie Forum
General Category
Troubleshooting and Support
Wrong temperature reading with Vision Security ZP 3102