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
Withings Issue after upgrade from 9.x #102246
Comments
Hey there @joostlek, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) withings documentation |
Do you have an external url or home assistant cloud? |
Unfortunately I do not, I use VPN |
by the way thanks for the fast response, appreciated |
So what you are saying is, Withings keeps sending the same values? Currently the polling interval is 10 minutes yes. Maybe there's something wrong in the way I aggregate data, but I don't expect that, otherwise I probably would have more issues about this. |
Currently I use MQTT to send withings values to a mysql. With the current release 9.x I have no issues and withings and MySQL records only one value when I record my body weight. When I moved to 10.x, I can see in the mysql table triggering 0 value. In the HA log I could see the "Unknown" value. Unfortunately I'm new to HA and I do not know how to filter those values out from the automation. By the way, not relevant but your plugin was easy to configure and worked on the first chance, I was going crazy trying to create the same thing you did. Please ask more questions as may fit. Thanks. |
I mean the integration will be even better next release, if you reinstall the integration in 2023.11 only relevant measurements will show ;) How does the entities in HA look like? |
to be honest I reversed back to 9.3 but if you like I can upgrade if you think the issue went away with the latest updates. With 9.3 the entities are good with no issues. |
2023.11 isn't out yet, but the thing is, the internals have changed, but the behaviour of the sensors did not. So I am kinda looking for an answer why they behave differently. |
Unfortunately I'm very new to HA and I'm learning as we speak. Not sure this is the best strategy or not but I would like to suggest to options. Option 1, you could perhaps use the YAML that I have attached and test it if you have any withings hardware or 2, please let me know how I can I help to debug and I will, with the premise that I just started HA, I'm 3 weeks into it and I'm just touching the surface of it, not sure I would be of a big help. |
I mean, if you are this new, do you mind if we take a step back and ask why you use mysql to collect the data? |
I'm new to HA but not with home automation, MQTT and mysql. I'm sending the MQTT values info to another app. I want to collect my data so I can graph with Grafana. |
by the way your app got me there within an hour, you made it very simple process. The only thing that I needed to do is create a VM with HA, add your plugin and do some automation. Very easy. |
Maybe you want to checkout the influxdb integration, that also has integration with grafana |
thanks, I will check it in the future, right now, I would like to be able to upgrade HA without the issue that I'm having. |
Haha, I mean it would be a second way to solve this issue haha. Downside is, I can't reproduce this as my Withings setup uses cloudhooks, so whenever I stand on my scale, Withings will send a request to my instance to update the data. |
Not to worry, thanks for the help, appreciated. When the next release comes, I will test with it and I will keep you posted on the progress with more detailed info. |
I mean, this isn't changed in 2023.11, if it doesn't work in 2023.10 it won't work in .11, so I would say let's give it a try imo |
Thanks, I will do it. This weekend, I will focus entirely on it. Any special thing that I would like me to provide you with in order to debug better? |
Well, I don't think anything should've changed in the first place, the sensors update just like normal so I am curious what the automation receives and why |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I was on 2023.9.3 and Withings was sending only new body scale values to MQTT from Withings. After upgrading to the latest 10.X, (Not sure what is happening) every time HA checks with Withings (I believe every 10 minutes) it sends 0 values or same values to MQTT. I downgraded to 9.3 and everything is back to normal. I’m still learning so be with me, I have attached the YAML file but if you need anything else, please let me know:
HomeAssistant/SystolicBloodPressure
“{{ states(‘sensor.withings_systolic_blood_pressure_mmhg_scale’) }}”
“{{ states(‘sensor.withings_diastolic_blood_pressure_mmhg_scale’) }}”
platform: state
entity_id:
id: ‘1695841030512’
alias: Diastolic Blood Pressure MQTT
description: Diastolic Blood Pressure
trigger:
What version of Home Assistant Core has the issue?
2023.10.3
What was the last working version of Home Assistant Core?
2023.9.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Withings
Link to integration documentation on our website
https://www.home-assistant.io/integrations/withings/#data-updates
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: