jvmahon / Homebridge-HomeSeer4

Homebridge Plugin for HomeSeer 3 and 4
28 stars 8 forks source link

Temperature cannot go above 212 #91

Closed mwolter805 closed 4 years ago

mwolter805 commented 4 years ago

Hello, I'm noticing an issue where the reported temperature cannot go above 212f in the Home App. This particular device is reported to HS in C and converted to F by Homebridge-HomeSeer4. However, it does report temperatures below 212f. For instance, if the value reported by HS is under 100c, Home reports the proper temperature in F.

I am using version 1.00 of Homebridge-HomeSeer4 plugin.

Screen Shot 2020-07-14 at 9 30 23 AM Screen Shot 2020-07-14 at 9 30 05 AM

jvmahon commented 4 years ago

The HomeKit Maximum Current Temperature limit is 100 degrees Celsius.

From the HomeKit spec: image

jvmahon commented 4 years ago

I think I may be able to override this, but it would involve changing the code. Maybe I could do this next time I have to make another code change-- what temperature range do you think you need.

mwolter805 commented 4 years ago

That would be great. Maximum temperature would be 850f.

On Jul 15, 2020, at 11:13 AM, jvmahon notifications@github.com wrote:

The HomeKit Maximum Current Temperature limit is 100 degrees Celsius.

From the HomeKit spec: https://user-images.githubusercontent.com/15061942/87580309-510e0c00-c6a5-11ea-9358-6ce39ec7b595.png — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jvmahon/Homebridge-HomeSeer4/issues/91#issuecomment-658922236, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5TJQ4Q43GCPQMUKSFDMZ3R3XWWBANCNFSM4OZWBYEQ.

jvmahon commented 4 years ago

Just curious - what are you using this for?

mwolter805 commented 4 years ago

It’s to monitor a 3D printer’s hotend (part where the melted plastic comes out) and the heated platform where the plastic is deposited.

-Matt

On Jul 15, 2020, at 5:01 PM, jvmahon notifications@github.com wrote:

 Just curious - what are you using this for?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jvmahon commented 4 years ago

Update to 1.0.4 You can now specify a minimum and maximum value for the temprature range. Note that you must specify the min/max using Celsius degrees, even if HomeSeer reports the temperature in Fahrenheit.

{"type":"TemperatureSensor", "ref":1314, "minCelsius":-100, "maxCelsius":1000, "temperatureUnit":"F"}