zerwuff / homebridge-alphaess

Alpha ESS Homebridge Connection
Apache License 2.0
8 stars 0 forks source link

error message #16

Closed CharlieVD closed 4 months ago

CharlieVD commented 4 months ago

Describe The Bug:

[6/17/2024, 3:47:40 PM] [Alpha ESS Homebridge Plugin] TypeError: Cannot read properties of undefined (reading 'lastTriggerStart') at AlphaService.isTriggered (/volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:476:23) at EnergyTriggerPlugin.calculateAlphaTrigger (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:242:50) at EnergyTriggerPlugin.calculateCombinedTriggers (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:132:10) at EnergyTriggerPlugin.onResponse (/volume1/homebridge/node_modules/homebridge-alphaess/src/EnergyTriggerPlugin.ts:96:10) at /volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:74:27 at Array.forEach () at /volume1/homebridge/node_modules/homebridge-alphaess/src/alpha/AlphaService.ts:72:35 at processTicksAndRejections (node:internal/process/task_queues:95:5)

zerwuff commented 4 months ago

hi, are you on the latest version ? i fixed a bug that was present for 2 hours, please check that you are up to date. br

CharlieVD commented 4 months ago

OK, I updated to last version. Old error is done, new error occured: [6/17/2024, 8:04:32 PM] Homebridge v1.8.1 (HAP v0.12.0) (Alpha ESS Homebridge Plugin) is running on port 59372. [6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect ENETUNREACH 20.247.179.111:443 [6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] Error: undefined [6/18/2024, 5:36:23 AM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed. [6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect EHOSTUNREACH 20.247.179.111:443 [6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] Error: undefined [6/18/2024, 10:06:37 AM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed. [6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] error fetching getLastPoweData, error: Error: connect ENETUNREACH 20.247.179.111:443 [6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] Error: undefined [6/18/2024, 12:36:14 PM] [Alpha ESS Homebridge Plugin] Getting Last Power Data from Alpha Ess failed.

zerwuff commented 4 months ago

EHOSTUNREACH 20.247.179.111:443 means you could not connect to https://openapi.alphaess.com/api. do you have network issues or have changed something on your network side ? for me, the site seems reachable.

CharlieVD commented 4 months ago

Everything is possible, I did not change network, but cannot quarantee network issues..

From: zerwuff @.> Sent: Wednesday, June 19, 2024 12:03 PM To: zerwuff/homebridge-alphaess @.> Cc: CharlieVD @.>; Author @.> Subject: Re: [zerwuff/homebridge-alphaess] error message (Issue #16)

EHOSTUNREACH 20.247.179.111:443 means you could not connect to https://openapi.alphaess.com/api. do you have network issues or have changed something on your network side ? for me, the site seems reachable.

— Reply to this email directly, view it on GitHub https://github.com/zerwuff/homebridge-alphaess/issues/16#issuecomment-2178280898 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BH7IC5X4OWFEQDJUHVEILP3ZIFJONAVCNFSM6AAAAABJOB63SWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGI4DAOBZHA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BH7IC5TCISAZT4LH7MT6SLTZIFJONA5CNFSM6AAAAABJOB63SWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUB2XW4E.gif Message ID: @. @.> >