Open giannimp opened 4 years ago
Which language of FritzOS are you using?
Italian
Then thats the problem as its not found by the regex. Could you share a screenshot?
![Uploading A90F94EB-52C3-47AA-9D97-26E98F5606D1.png…]()
Hi, Happy new year 2020! Have you news for my issue?
This is probably more an issue of andig/fritzapi.
Could you simplify your regex pattern to match the percent symbol so any language works @andig?
Right now we're looking for a label that contains battery: https://github.com/andig/fritzapi/blob/master/index.js#L636
Hi, @andig have you news?
No, should I? I've shown the line where it happens, please feel try to adapt as needed. If you can find something that will work for Italian and other devices I'd be happy to update accordingly.
Could somebody provide a sample html file from the site being parsed @andig?
Any updates? If somebody could send me the html source code of the fritz page the battery percentage is queried from I could maybe come up with a more general regex which supports more languages.
cc @andig @giannimp
Hi, thank you for your work, I Have a problem battery level in homekit
In homekit the battery level of the heads is not displayed, as an account in the config I enter the administrative one with all the permissions [Homebridge] [12/30/2019, 4:27:37 PM] [Fritzbox7590] Updating thermostat 099950167xxx [Homebridge] [12/30/2019, 4:27:37 PM] [Fritzbox7590] Getting thermostat 099950167xxx temperature [Homebridge] [12/30/2019, 4:27:37 PM] [Fritzbox7590] Getting thermostat 099950167xxx target temperature [Homebridge] [12/30/2019, 4:27:37 PM] [Fritzbox7590] Getting thermostat 099950167xxx battery level [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Getting thermostat 099950167xx battery status [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Updating thermostat 119610841xxx [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Getting thermostat 119610841xxx temperature [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Getting thermostat 119610841xxx target temperature [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Getting thermostat 119610841xxx battery level [Homebridge] [12/30/2019, 4:27:38 PM] [Fritzbox7590] Getting thermostat 119610841xxx battery status