Closed fratinize closed 3 years ago
I'm wondering if you have restarted your homebridge since updating the configuration? The setting in the app only loads up on boot. Otherwise, if you're able to turn on debug mode and post the status update logs, then we might be able to understand better what's happening
I have, several times it does seems as though it is stuck with the original config I’m pretty sure I have even rebooted my pi a few times as well
Sent from my iPhone
On Jun 17, 2021, at 3:36 PM, Andrew Thal @.***> wrote:
I'm wondering if you have restarted your homebridge since updating the configuration? The setting in the app only loads up on boot. Otherwise, if you're able to turn on debug mode and post the status update logs, then we might be able to understand better what's happening
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Ok, the logs and a copy of your config will be helpful then
{ "credentials": { "username": @.***", "password": “my password", "region": "US", "brand": "hyundai", "pin": “1234" }, "vehicles": [ { "vin": “VINUMBER", "maxRange": 339 } ], "remoteStart": { "cool": true, "heat": true, "defrost": false, "temperature": 72, "igniOnDuration": 15 }, "_bridge": { "username": "0E:12:55:E4:C0:07", "port": 50347 }, "platform": "Hyundai" },
Thank You
On Jun 17, 2021, at 6:08 PM, Andrew Thal @.***> wrote:
Ok, the logs and a copy of your config will be helpful then
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/athal7/homebridge-hyundai-bluelink/issues/23#issuecomment-863594291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCD4E6T656NANP6ZROCEW3TTJW4PANCNFSM463KDPWQ.
s>)
at Object.awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
at Accessory.toHAP (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:816:24)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1043:39
at Array.map (
home kit right now says 33%
Sent from my iPhone
On Jun 17, 2021, at 6:08 PM, Andrew Thal @.***> wrote:
Ok, the logs and a copy of your config will be helpful then
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for the config. I don't see any logs for this plugin in what you pasted (or any debug-level logs for that matter). Can you please try turning on debug mode and just pasting the logs that are for this plugin?
I thought I had debug mode enabled. See attached collections.
Am I Missing Someplace Else? I had added a Debug:true to my Config
Thank You for your assistance
On Jun 18, 2021, at 1:20 PM, Andrew Thal @.***> wrote:
Thanks for the config. I don't see any logs for this plugin in what you pasted (or any debug-level logs for that matter). Can you please try turning on debug mode and just pasting the logs that are for this plugin?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/athal7/homebridge-hyundai-bluelink/issues/23#issuecomment-864177438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCD4E74Q2RXGCUA3UBLH43TTN57LANCNFSM463KDPWQ.
It's a homebridge-wide setting
homebridge -D
Or https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#debug
I have that Enabled
On Jun 19, 2021, at 10:19 AM, Andrew Thal @.***> wrote:
It's a homebridge-wide setting
homebridge -D Or https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#debug https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#debug — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/athal7/homebridge-hyundai-bluelink/issues/23#issuecomment-864412483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCD4E6Y4JU4MI22CVCAC2DTTSRPZANCNFSM463KDPWQ.
[6/18/2021, 1:48:23 PM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: false, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 116, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-18T16:47:51.000Z } [6/18/2021, 1:49:05 PM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: false, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 116, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-18T16:47:51.000Z } [6/18/2021, 1:49:24 PM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: false, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 116, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-18T16:47:51.000Z }
From Today, Same Repeats every hour [6/19/2021, 7:23:23 AM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: true, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 116, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-18T22:04:54.000Z }
***after HB Reboot ****
[6/19/2021, 10:24:51 AM] Registering platform 'homebridge-hyundai-bluelink.Hyundai' [6/19/2021, 10:24:51 AM] [homebridge-hyundai-bluelink] Loaded homebridge-hyundai-bluelink v1.3.5 child bridge successfully [6/19/2021, 10:24:51 AM] Loaded 1 cached accessories from cachedAccessories.0E1255E4C007. [6/19/2021, 10:24:51 AM] [homebridge-hyundai-bluelink] Loading accessory from cache: 21 VENUE Preparing Advertiser for 'homebridge-hyundai-bluelink 36E9' using bonjour-hap backend! [6/19/2021, 10:24:52 AM] [homebridge-hyundai-bluelink] Executed didFinishLaunching callback [6/19/2021, 10:24:52 AM] [homebridge-hyundai-bluelink] Hyundai config: { credentials: { username: @.***', password: 'cyHwo2-vvvvvv-xxxxx', region: 'US', brand: 'hyundai', pin: '1234', debug: true }, vehicles: [ { vin: 'KMHRC8A30MUXXXXXX', maxRange: 339 } ], remoteStart: { cool: true, heat: true, defrost: false, temperature: 72, igniOnDuration: 15 }, platform: 'Hyundai' } Starting to advertise 'homebridge-hyundai-bluelink 36E9' using bonjour-hap backend! [6/19/2021, 10:24:52 AM] Homebridge v1.3.4 (homebridge-hyundai-bluelink) is running on port 50347. [6/19/2021, 10:24:53 AM] [Floating Lites] DEVICE COLOR: 255,100,50 [6/19/2021, 10:24:53 AM] [homebridge-hyundai-bluelink] Client Ready [6/19/2021, 10:24:53 AM] [homebridge-hyundai-bluelink] Fetching vehicle: KMHRC8A30MUXXXXXX [6/19/2021, 10:24:53 AM] [homebridge-hyundai-bluelink] Vehicle found { nickname: '21 VENUE', name: '21 VENUE', vin: 'KMHRC8A30MUXXXXXX', regDate: '20210325', brandIndicator: 'H', regId: 'H00003448674VKMHRC8A30MUXXXXXX', generation: '2' } [6/19/2021, 10:24:53 AM] [homebridge-hyundai-bluelink] Restoring existing accessory from cache: 21 VENUE
...
[6/19/2021, 10:24:55 AM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: true, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 116, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-18T22:04:54.000Z } [6/19/2021, 10:24:55 AM] [homebridge-hyundai-bluelink] Vehicle is Locked [6/19/2021, 10:24:55 AM] [homebridge-hyundai-bluelink] new range 116 [6/19/2021, 10:24:55 AM] [homebridge-hyundai-bluelink] Vehicle is Off
....
[6/19/2021, 11:24:55 AM] [homebridge-hyundai-bluelink] Received status update { chassis: { hoodOpen: false, trunkOpen: false, locked: false, openDoors: { frontRight: false, frontLeft: false, backLeft: false, backRight: false }, tirePressureWarningLamp: { rearLeft: false, frontLeft: false, frontRight: false, rearRight: false, all: false } }, climate: { active: false, steeringwheelHeat: false, sideMirrorHeat: false, rearWindowHeat: false, defrost: false, temperatureSetpoint: 'LO', temperatureUnit: 0 }, engine: { ignition: false, accessory: false, range: 110, charging: undefined, batteryCharge12v: undefined, batteryChargeHV: undefined }, lastupdate: 2021-06-19T15:12:09.000Z } [6/19/2021, 11:24:55 AM] [homebridge-hyundai-bluelink] Vehicle is Unlocked [6/19/2021, 11:24:55 AM] [homebridge-hyundai-bluelink] new range 110
~33% looks like the accurate calculation to me based on what Hyundai is sending
110/339
I agree but it shows 22
Sent from my iPhone
On Jun 19, 2021, at 3:00 PM, Andrew Thal @.***> wrote:
~33% looks like the accurate calculation to me based on what Hyundai is sending
110/339
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Got it. I think somehow the vehicle cache isn't getting reset when you restart the homebridge as you have been doing, and the maxrange is only reset on boot when an accessory is not found in cache. We could validate this by removing your vehicle config, restarting, putting it back, and restarting again.
Check out the latest release, I think it should fix your issue without having to remove and re-add the config
Thank You
When I first installed this app I was unsure what the maximum range was actually for. I believe I left the 500. As time went by I was wondering why my gas left %was way wrong. I Changed the maximum range to the actually range shown in my car after a fill up.339 I keep expecting to see the correct or at least closer to correct % left. Today it shows 52% my math, based the miles left in my car should be 72% Where can I look to correct this? It's been several weeks and a couple of your updates have passed. Thank you