apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
63 stars 27 forks source link

Not sure this is working any longer? #59

Closed kylewilliams321 closed 1 year ago

kylewilliams321 commented 1 year ago

I used to have this working but then after I lost power in our house for several hours and it was restored the integration wasn't coming up properly. I had it running for months with no issues. So I did some diagnosing/troubleshooting. One of the first things I tried was logging into the app on my phone. Well I couldn't remember my password so I reset it. And here's maybe the first screw up. Because I reset it I figured well I guess now I just have to update the pw in the config.yaml file. I did that and restarted Home Assistant and still nothing. So I cam here and I've went through the following steps. 1) I restarted multiple times 2) I re-downloaded and installed the HACS integration 3) I restarted more times Not really sure what more to do? Thoughts?

kylewilliams321 commented 1 year ago

Log: This error originated from a custom integration.

Logger: homeassistant.setup Source: custom_components/daikinskyport/daikinskyport.py:31 Integration: daikinskyport (documentation, issues) First occurred: 5:16:47 PM (1 occurrences) Last logged: 5:16:47 PM

Error during setup of component daikinskyport Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 257, in _async_setup_component result = await task File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/daikinskyport/init.py", line 72, in setup data = DaikinSkyportData(hass.config.path(DAIKINSKYPORT_CONFIG_FILE)) File "/config/custom_components/daikinskyport/init.py", line 49, in init self.daikinskyport = DaikinSkyport(config_file) File "/config/custom_components/daikinskyport/daikinskyport.py", line 55, in init config = config_from_file(config_filename) File "/config/custom_components/daikinskyport/daikinskyport.py", line 31, in config_from_file return json.loads(fdesc.read()) File "/usr/local/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.10/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)

apetrycki commented 1 year ago

you probably need to delete your daikinskyport.conf

kylewilliams321 commented 1 year ago

Yep I tried that as well with no luck. I’ll try again later today and delete everything again as well as the daikinskyport.conf file (if there).

On Wed, May 24, 2023 at 8:39 PM apetrycki @.***> wrote:

you probably need to delete your daikinskyport.conf

— Reply to this email directly, view it on GitHub https://github.com/apetrycki/daikinskyport/issues/59#issuecomment-1562139509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJQ3NWMTRIIMSM5UK5RBB63XH2Z5XANCNFSM6AAAAAAYN7X6PY . You are receiving this because you authored the thread.Message ID: @.***>

kylewilliams321 commented 1 year ago

Update: I've done this multiple times deleting everything including the daikinskyport.conf file and rebooting HA and still not working. The config.yaml file correctly has my username/pw in there w/ correct spacing.

The one part that might be missing is I'm unsure how to Restart Home Assistant Core in the latest release 2023.5

My version: Home Assistant 2023.5.2 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.3 - latest

Your instructions: Restart Home Assistant Core via the Home Assistant console by navigating to Supervisor in the sidebar on the left, selecting the System tab, and clicking Restart Core. A restart is necessary in order to load the component.

kylewilliams321 commented 1 year ago

nm, i got it working now. I actually had the password wrong many times in a row I guess. whoops. dumb me.