-
Notifications
You must be signed in to change notification settings - Fork 62
Precision for fglair devices #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Scale is the scale factor for converting messages from the device to temperature readings, and precision is the precision of those readings (1.0 or 0.5 for known devices). Publish the precision on the mqtt discovery topic for HA.
|
@emoses I just installed your fork (https://github.com/emoses/AirCon) on my installation, and it doesn't appear to be working. Everything seems to function as the master, but if I set a 0.5degC increment in the FGLair app or on the thermostat, it doesn't reflect the half degree in HA. Is there anything else I need to change? |
|
@lubindent I'm in the US, using HA in F, but HA is happy to set temperatures to 0.5C increments. I wonder what your MQTT INFO looks like. Here's a partial of mine; what do your precision and temperature unit say? You can see this if you go to the Device, click on "MQTT INFO", and expand the MQTT Discovery Topic payload. |
|
Still showing precision of 1. `
|
|
Hm, looks like you've got the same model as me, so it should work. Can you try deleting the |
|
Deleted the config files, restarted HA and the plugin. New config file self regenerated, and MQTT payload still reporting precision = 1degC. |
|
Oh I should ask: how exactly are you running Aircon? I run it "by hand" in a separate docker container, not as an AddOn, and I didn't make any updates to the add-on config; if you're running my fork as an addon it's gonna still be running the upstream ( |
|
I have the same issue in FGLair App I can use te "precision 0.5" but is reported like precision 1 in MQTT payload. |
|
I’m running it as an add-on as well.On Jun 10, 2023, at 2:48 PM, SrBurner ***@***.***> wrote:
I have the same issue in FGLair App I can use te "precision 0.5" but is reported like precision 1 in MQTT payload.
Mine is running like an Add-on.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
For my device (a fujistu system that uses fglair-us) values go to/from the device in 10ths of a degree C, with a step of 0.5 degree; when controlling it in fahrenheit, 68ºF -> 200, 69ºF -> 205, 70ºF -> 210, etc.
I renamed the "precision" value to "scale", because it's really the scale factor for converting the temperature to/from the device value, and I added a new "precision" value that aligns with the "precision" value on HA's mqtt discovery topic; that is, how big the step is between two accepted temp values.
That precision value is now published to HA, and I'm able to control the temperature in HA to the degree F, where before it would ignore single-degree changes in F because it was rounding to the nearest degree C.
This supercedes #220