New Install
Closed this issue · 9 comments
Hi there.
Thank you for your work on this project..
Im new to HA and saw your integration and thought it would work really well for me :)
I had a couple of issues installing HACS, but all good now, however when i came to add your repo, HACS said that it was already in the marketplace... so i downloaded this version.
I dont seem to get any configuration items (ie unable to login to Sensit) and i only get the readme.md if i enable experimental features in HACS....
is this me going wrong somewhere?
Thanks again for your time and energies!
Ah that's my fault for not updating the readme after the repo was accepted by HACS. You should just be able to search HACS now to install without adding the custom repo. If that doesn't work can you add this to your config and let me know what debug messages you see from the Sensit integration?
logger:
default: warning
logs:
custom_components.kingspan_watchman_sensit: debug
I think the best idea is to remove the integration, add the debug logging, restart HA and re-add. You should see some logs then. I see:
2023-01-13 14:28:23.543 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] API init as username=XXXXXXXXXX
2023-01-13 14:28:23.543 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Fetching tank data with username= XXXXXXXXXX
2023-01-13 14:28:25.141 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Tank data: level=628, capacity=1300, serial_number= XXXXXXXXXX,last_read=2023-01-13 00:31:44.543000+00:00, usage_rate
=17.5, forecast_empty=35
2023-01-13 14:28:25.141 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Finished fetching kingspan_watchman_sensit data in 1.598 seconds (success: True)
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Adding sensor entities
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Oil Level
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Tank Percentage Full
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Tank Capacity
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Last Reading Date
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Current Usage
2023-01-13 14:28:25.156 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Init entity Forecast Empty
2023-01-13 14:28:25.160 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Read oil level: 628 litres
2023-01-13 14:28:25.161 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Read oil level: 48.3 percent
2023-01-13 14:28:25.161 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Read tank capcity: 1300 litres
2023-01-13 14:28:25.161 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Tank last read 2023-01-13 00:31:44.543000+00:00
2023-01-13 14:28:25.161 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Current oil usage 17 days
2023-01-13 14:28:25.162 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Tank forecast empty 35 days
2023-01-13 22:28:25.496 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Fetching tank data with username=jon@figsandfudge.com
2023-01-13 22:28:26.445 DEBUG (MainThread) [custom_components.kingspan_watchman_sensit] Tank data: level=628, capacity=1300, serial_number=20001412,last_read=2023-01-13 00:31:44.543000+00:00, usage_rate
So i added the following lines to my configuration.yaml
logger:
default: warning
logs:
custom_components.kingspan_watchman_sensit: debug
this is all i see in the logs...
2023-01-20 09:35:16.351 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration kingspan_watchman_sensit 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
2023-01-20 09:35:16.351 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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
The indentation of the config is important and I can't tell if that's right (see above) but I've added a quick install button on the README (the blue button). I suggest deleting the integration again and then adding from that button. I just tried this and was asked for my username and password again
Hi there,
thanks for getting back to me - still no dice...
im running Home Assistant 2023.1.6, but when i click on the install button you put in the readme i get this error...
Error
This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.
I repasted the debugging code into configuration.yaml
so i installed again through the HACS marketplace, reboot and then opened the integration page, clicked on Watchman and get this...
if i enable experimental settings i get this...
but im still havent been asked to log in 🤷♂️
Thanks for all your help... sorry if its all my fault!
Great thanks for confirming. I'll go and see what "Enable experimental features" does!