Open mikesalz opened 1 year ago
On the right is it probably because there isnt an image coming back from the api for your device. Can you turn on debug logging and take a look at one of the json dumps to see if there is a url in it.
With the image on the left, I need to submit an image to the cental home assistant repo, I have send the PR https://github.com/home-assistant/brands/pull/4601
It turns out I am actually getting a bunch of errors in the logs. I did notice a URL with a mention of "hero". I also noticed that my ecobee is popping up in there. I recently linked my ecobee and Generac accounts so that the generator status displays on my ecobee thermostat.
There is a lot more than this in the logs, but I figured it was just being repeated and you didn't need all of it. Please let me know if there is any other information I can provide.
2023-08-12 20:37:06.796 DEBUG (MainThread) [custom_components.generac] getEndpoint [{"apparatusId": 560359, "serialNumber": "XXXXXXXXX", "name": "Generator", "type": 0, "localizedAddress": "XXX XXX Drive, Tampa, FL, XXXXX", "materialDescription": null, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg", "apparatusStatus": 1, "isConnected": true, "isConnecting": false, "showWarning": false, "weather": {"temperature": {"value": 90.0, "unit": "F", "unitType": 18}, "iconCode": 2}, "preferredDealerName": "GENERX GENERATORS LLC", "preferredDealerPhone": "8138145900", "preferredDealerEmail": "brody@fixmygen.com", "isDealerManaged": false, "isDealerUnmonitored": false, "modelNumber": "G0070433", "panelId": "21", "properties": [{"name": "Subscriptions/apparatuses/560359/SubscriptionsFree", "value": {"type": 1, "status": 1, "isLegacy": false, "isDunning": false}, "type": 2}, {"name": "Device", "value": {"deviceId": "213af75b-e3c4-4f64-9ed4-29defcf56fa3", "deviceType": "wifi", "signalStrength": "44%", "batteryLevel": null, "status": "Online"}, "type": 3}], "values": null, "provisioned": "2021-11-18T17:54:47.4603947Z"}, {"apparatusId": 1019555, "serialNumber": "511853787353", "name": "Downstairs ecobee", "type": 7, "localizedAddress": "", "materialDescription": null, "heroImageUrl": null, "apparatusStatus": 0, "isConnected": false, "isConnecting": false, "showWarning": false, "weather": null, "preferredDealerName": null, "preferredDealerPhone": null, "preferredDealerEmail": null, "isDealerManaged": false, "isDealerUnmonitored": false, "modelNumber": null, "panelId": null, "properties": [{"name": "Linked Apparatuses", "value": [{"id": 560359, "name": "Generator", "apparatusType": 0}], "type": 4}], "values": null, "provisioned": null}]
2023-08-12 20:37:07.223 DEBUG (MainThread) [custom_components.generac] getEndpoint {"apparatusId": 560359, "name": "Generator", "serialNumber": "XXXXXXXXX", "apparatusClassification": 0, "panelId": "21", "activationDate": "2021-11-18T00:00:00Z", "deviceType": "wifi", "deviceSsid": "MLG44991", "shortDeviceId": null, "apparatusStatus": 1, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg", "statusLabel": "Ready to run", "statusText": "Your generator is ready to run.", "eCodeLabel": null, "weather": {"temperature": {"value": 90.0, "unit": "F", "unitType": 18}, "iconCode": 2}, "isConnected": true, "isConnecting": false, "showWarning": false, "hasMaintenanceAlert": false, "lastSeen": "2023-08-13T00:29:09.892+00:00", "connectionTimestamp": "2023-04-10T12:50:16.94+00:00", "address": {"line1": "XXX XXX Drive", "line2": null, "city": "Tampa", "region": "FL", "country": "US", "postalCode": "XXXXX"}, "properties": [{"name": null, "value": 7, "type": 70}, {"name": null, "value": "225", "type": 93}, {"name": null, "value": "13.2", "type": 69}, {"name": "Hours of Protection", "value": 15192.0, "type": 31}], "tuProperties": [], "subscription": {"type": 1, "status": 1, "isLegacy": false, "isDunning": false}, "enrolledInVpp": false, "hasActiveVppEvent": false, "productInfo": [{"name": "ProductType", "value": "gs", "type": 0}, {"name": "Description", "value": "22KW/999 GUARD+200A SE T/SW AL", "type": 0}], "disconnectedNotification": null, "hasDisconnectedNotificationsOn": false}
2023-08-12 20:37:07.225 DEBUG (MainThread) [custom_components.generac] Unknown apparatus type 7 Downstairs ecobee
2023-08-12 20:37:07.225 DEBUG (MainThread) [custom_components.generac] Finished fetching generac data in 1.976 seconds (success: True)
2023-08-12 20:37:07.226 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_is_connected: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.226 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_has_maintenance_alert: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.226 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_show_warning: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.226 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_status: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.227 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_connection_time: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.227 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_battery_voltage: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:07.228 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_hero_image: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
2023-08-12 20:37:37.249 DEBUG (MainThread) [custom_components.generac] Refreshing data for generac
2023-08-12 20:37:38.936 DEBUG (MainThread) [custom_components.generac] getEndpoint [{"apparatusId": 560359, "serialNumber": "XXXXXXXXX", "name": "Generator", "type": 0, "localizedAddress": "XXX XXX Drive, Tampa, FL, XXXXX", "materialDescription": null, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg", "apparatusStatus": 1, "isConnected": true, "isConnecting": false, "showWarning": false, "weather": {"temperature": {"value": 90.0, "unit": "F", "unitType": 18}, "iconCode": 2}, "preferredDealerName": "GENERX GENERATORS LLC", "preferredDealerPhone": "8138145900", "preferredDealerEmail": "brody@fixmygen.com", "isDealerManaged": false, "isDealerUnmonitored": false, "modelNumber": "G0070433", "panelId": "21", "properties": [{"name": "Subscriptions/apparatuses/560359/SubscriptionsFree", "value": {"type": 1, "status": 1, "isLegacy": false, "isDunning": false}, "type": 2}, {"name": "Device", "value": {"deviceId": "213af75b-e3c4-4f64-9ed4-29defcf56fa3", "deviceType": "wifi", "signalStrength": "44%", "batteryLevel": null, "status": "Online"}, "type": 3}], "values": null, "provisioned": "2021-11-18T17:54:47.4603947Z"}, {"apparatusId": 1019555, "serialNumber": "511853787353", "name": "Downstairs ecobee", "type": 7, "localizedAddress": "", "materialDescription": null, "heroImageUrl": null, "apparatusStatus": 0, "isConnected": false, "isConnecting": false, "showWarning": false, "weather": null, "preferredDealerName": null, "preferredDealerPhone": null, "preferredDealerEmail": null, "isDealerManaged": false, "isDealerUnmonitored": false, "modelNumber": null, "panelId": null, "properties": [{"name": "Linked Apparatuses", "value": [{"id": 560359, "name": "Generator", "apparatusType": 0}], "type": 4}], "values": null, "provisioned": null}]
2023-08-12 20:37:39.405 DEBUG (MainThread) [custom_components.generac] getEndpoint {"apparatusId": 560359, "name": "Generator", "serialNumber": "XXXXXXXXX", "apparatusClassification": 0, "panelId": "21", "activationDate": "2021-11-18T00:00:00Z", "deviceType": "wifi", "deviceSsid": "MLG44991", "shortDeviceId": null, "apparatusStatus": 1, "heroImageUrl": "https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg", "statusLabel": "Ready to run", "statusText": "Your generator is ready to run.", "eCodeLabel": null, "weather": {"temperature": {"value": 90.0, "unit": "F", "unitType": 18}, "iconCode": 2}, "isConnected": true, "isConnecting": false, "showWarning": false, "hasMaintenanceAlert": false, "lastSeen": "2023-08-13T00:29:09.892+00:00", "connectionTimestamp": "2023-04-10T12:50:16.94+00:00", "address": {"line1": "XXX XXX Drive", "line2": null, "city": "Tampa", "region": "FL", "country": "US", "postalCode": "XXXXX"}, "properties": [{"name": null, "value": 7, "type": 70}, {"name": null, "value": "225", "type": 93}, {"name": null, "value": "13.2", "type": 69}, {"name": "Hours of Protection", "value": 15192.0, "type": 31}], "tuProperties": [], "subscription": {"type": 1, "status": 1, "isLegacy": false, "isDunning": false}, "enrolledInVpp": false, "hasActiveVppEvent": false, "productInfo": [{"name": "ProductType", "value": "gs", "type": 0}, {"name": "Description", "value": "22KW/999 GUARD+200A SE T/SW AL", "type": 0}], "disconnectedNotification": null, "hasDisconnectedNotificationsOn": false}
2023-08-12 20:37:39.407 DEBUG (MainThread) [custom_components.generac] Unknown apparatus type 7 Downstairs ecobee
2023-08-12 20:37:39.407 DEBUG (MainThread) [custom_components.generac] Finished fetching generac data in 2.158 seconds (success: True)
2
023-08-12 20:37:39.408 DEBUG (MainThread) [custom_components.generac] Updated data for b4b2cd2c54fc49aa180a92c434420689_560359_generac_560359_is_connected: Item(apparatus=Apparatus(apparatusId=560359, serialNumber='XXXXXXXXX', name='Generator', type=0, localizedAddress='XXX XXX Drive, Tampa, FL, XXXXX', materialDescription=None, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', apparatusStatus=1, isConnected=True, isConnecting=False, showWarning=False, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), preferredDealerName='GENERX GENERATORS LLC', preferredDealerPhone='8138145900', preferredDealerEmail='brody@fixmygen.com', isDealerManaged=False, isDealerUnmonitored=False, modelNumber='G0070433', panelId='21', properties=[Apparatus.Property(name='Subscriptions/apparatuses/560359/SubscriptionsFree', value=Apparatus.Property.Value(type=1, status=1, isLegacy=False, isRunning=None, deviceId=None, deviceType=None, signalStrength=None, batteryLevel=None), type=2), Apparatus.Property(name='Device', value=Apparatus.Property.Value(type=None, status='Online', isLegacy=None, isRunning=None, deviceId='213af75b-e3c4-4f64-9ed4-29defcf56fa3', deviceType='wifi', signalStrength='44%', batteryLevel=None), type=3)]), apparatusDetail=ApparatusDetail(apparatusId=560359, name='Generator', serialNumber='XXXXXXXXX', apparatusClassification=0, panelId='21', activationDate='2021-11-18T00:00:00Z', deviceType='wifi', deviceSsid='MLG44991', shortDeviceId=None, apparatusStatus=1, heroImageUrl='https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg', statusLabel='Ready to run', statusText='Your generator is ready to run.', eCodeLabel=None, weather=Weather(temperature=Weather.Temperature(value=90.0, unit='F', unitType=18), iconCode=2), isConnected=True, isConnecting=False, showWarning=False, hasMaintenanceAlert=False, lastSeen='2023-08-13T00:29:09.892+00:00', connectionTimestamp='2023-04-10T12:50:16.94+00:00', address=Address(line1='XXX XXX Drive, line2=None, city='Tampa', region='FL', country='US', postalCode='XXXXX'), properties=[ApparatusDetail.Property(name=None, value=7, type=70), ApparatusDetail.Property(name=None, value='225', type=93), ApparatusDetail.Property(name=None, value='13.2', type=69), ApparatusDetail.Property(name='Hours of Protection', value=15192.0, type=31)], subscription=Subscription(type=1, status=1, isLegacy=False, isDunning=False), enrolledInVpp=False, hasActiveVppEvent=False, productInfo=[ApparatusDetail.Property(name='ProductType', value='gs', type=0), ApparatusDetail.Property(name='Description', value='22KW/999 GUARD+200A SE T/SW AL', type=0)], hasDisconnectedNotificationsOn=False))
Sorry, one more thing. This was in my log as well, which may be the image culprit.
2023-08-12 21:06:26.766 ERROR (MainThread) [homeassistant.components.image] image.generac_560359_hero_image: Image from https://gpsprodmobilelink.blob.core.windows.net/apparatusimage/G0070433.jpg has invalid content type: application/octet-stream
ah that would be it, I didnt know they could use a jpg. I will look into a fix
Reopening to track https://github.com/home-assistant/brands/pull/4601
Thanks for hopping on this so quickly! The error in the log is gone, and it looks like everything is showing up now! But question - Under "Controls" I have the picture of the generator, but there are no actual controls. Just curious what this is for?
And another question: Is there a way to configure the integration to poll more frequently? My generator performed its Exercising routine today from 12:00-12:05, but these events were not captured until 1-2 minutes later.
I wondered if it might be configurable from the main integration configuration screen, but instead I noticed some checkboxes with blanks next to them
@bentekkie Just wanted to check in to see if you saw my last comment about poling and the configuration screen? No rush on anything! I very much appreciate all of your efforts on this! Just wanted to make sure it wasn't missed. Thanks!
Hi @bentekkie - Just checking in to see if you had any additional thoughts on my polling questions above? Thanks!
@mikesalz the current polling interval seems to be 30 seconds. I'm not sure if the API has rate limiting in place that would prevent you from decreasing this to say 5 seconds, but I would also suspect that the generator itself has a ~10-30 second delay of reporting it's current status to the cloud server behind the API. I'd be glad to help make that value configurable though if you'd like to give it a shot. As mentioned in https://github.com/bentekkie/ha-generac/issues/56#issuecomment-1863674846, I've created a fork that some users have switched over to, which fixes some existing issues already.
@binarydev Thanks for letting me know about your fork! Nice to see that someone else is now continuing efforts on this integration. I will check out your fork later today when I have some time. I appreciate it!
I would be interested to see if changing the polling could help a little. I am regularly getting about a 2 minute delay. In the grand scheme of things it's not a huge issue, but it would be great if I could get it a little closer to real time.
Are you also getting the checkbox weirdness in the main integration configuration screen? I have a screen shot a couple of comments above.
Yup I am indeed! Trying to clean that up while adding the new polling interval config option.
Hi @binarydev - I switched over to your fork. So far it is working mostly well. Although the Connection Time sensor is unavailable. I can submit this as an issue if you'd prefer.
Please do, thanks @mikesalz! I'm currently working on the polling interval config and the checkbox popup weirdness before I move on to other things, but I can fix that sensor next.
Issue with the missing config items fixed in my latest v0.1.1 release
The image being setup as a control is a decision I haven't fully parsed yet honestly, but I'm betting it was either a mistake, caused by a limitation, or an intentional move meant to set things up for a future feature.
I've got v0.1.1 now and everything is looking great. Thanks so much for your help with this! Please let me know if I can help test anything moving forward.
@mikesalz you're all set with the polling config option now, v0.1.2 should show up in HACS as available for you to upgrade to. Let me know if you have any issues! Here's what it looks like at the bottom of the popup, and changing it doesn't require a restart. Default is the current 30 second interval.
Looks great! Thanks @binarydev! I installed v0.1.2 and lowered the polling interval, but it's a little difficult to test. I'll keep an eye on it next time the generator runs its exercise routine. Thanks so much for your work here!!
This is just a small thing I noticed after installing this integration. Just wanted to give you the heads up!