rrooggiieerr / homeassistant-okokscale

Home Assistant integration for OKOK Scales
Apache License 2.0
10 stars 0 forks source link

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble #3

Closed Mattdejong closed 6 months ago

Mattdejong commented 6 months ago

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

It gives this error if I try to connect it

rrooggiieerr commented 6 months ago

Can you look in the home-assistant.log and see if there's something that refers to the okokscale integration?

Mattdejong commented 6 months ago

2024-01-26 14:33:21.631 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration okokscale which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

File "/config/custom_components/okokscale/config_flow.py", line 90, in async_step_user if device.supported(discovery_info): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/bluetooth_sensor_state_data/init.py", line 66, in supported self._start_update(data) File "/config/custom_components/okokscale/okokscale.py", line 84, in _start_update name = human_readable_name("OKOK Scale", None, address) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ maybe to add I have the TRiSTAR WG-2440, but you mentioned it to work with Tristar

https://nl.manuals.plus/tristar/wg-2440-personal-scale-manual

rrooggiieerr commented 6 months ago

I also use the TRiSTAR WG-2440, but just found out mine is also no longer working. I don't use it very often...

Anyways, I'll look into it

rrooggiieerr commented 6 months ago

I think it should work now, please give the latest version a try

Mattdejong commented 6 months ago

Cheers, it worked!

Can you provide an other service to tip you? Don't have a creditcard. You saved me a few bucks, I might as well share it.

rrooggiieerr commented 6 months ago

If you like you can send me something on PayPal :-) paypal.me/seekingtheedge