Closed shadowfixer closed 1 year ago
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
Hi thanks for getting back to me...
The repo is added to my HACS implementation (so thats all good) ... but i dont get asked to enter my username/password..
This is all i see 🤷♂️
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!
OK - figured it out... (sort of...)
Firstly - thanks for your patience and help!
When i ticked "Enable experimental features" in HACS - i saw the full version of the repo readme
at this point in HACS i was able to click on the install button and was asked for my username and password!
thanks again!
Great thanks for confirming. I'll go and see what "Enable experimental features" does!
no worries.
Thanks for your help & if you need any "dummies" troubleshooting... happy to help :)
On Sun, 22 Jan 2023 at 15:14, Jon Connell @.***> wrote:
Great thanks for confirming. I'll go and see what "Enable experimental features" does!
— Reply to this email directly, view it on GitHub https://github.com/masaccio/ha-kingspan-watchman-sensit/issues/2#issuecomment-1399516018, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARJRW5ROVNLMSGSPYFEPEBDWTVFFFANCNFSM6AAAAAAUBIBROM . You are receiving this because you modified the open/close state.Message ID: @.***>
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!