denverquane / MMM-Teslamate

Magic Mirror Module for the Teslamate utility
MIT License
52 stars 14 forks source link

No data in front end #22

Closed dayzjarhead closed 3 years ago

dayzjarhead commented 3 years ago

No stats are shown in the frontend. Bildschirmfoto 2020-11-22 um 20 39 40

MQTT broker is connected and subscribed.

Bildschirmfoto 2020-11-22 um 20 39 49

Car model is Model 3 2021.

Am I missing something?

dayzjarhead commented 3 years ago

Oh, here's some output. I don't see any issues...

streamBuilder: [Function: wrapper], outgoingStore: Store { options: [Object], _inflights: Map {} }, incomingStore: Store { options: [Object], _inflights: Map {} }, queueQoSZero: true, _resubscribeTopics: { 'teslamate/cars/1/display_name': [Object], 'teslamate/cars/1/state': [Object], 'teslamate/cars/1/healthy': [Object], 'teslamate/cars/1/latitude': [Object], 'teslamate/cars/1/longitude': [Object], 'teslamate/cars/1/shift_state': [Object], 'teslamate/cars/1/speed': [Object], 'teslamate/cars/1/locked': [Object], 'teslamate/cars/1/sentry_mode': [Object], 'teslamate/cars/1/windows_open': [Object], 'teslamate/cars/1/outside_temp': [Object], 'teslamate/cars/1/inside_temp': [Object], 'teslamate/cars/1/is_climate_on': [Object], 'teslamate/cars/1/odometer': [Object], 'teslamate/cars/1/ideal_battery_range_km': [Object], 'teslamate/cars/1/est_battery_range_km': [Object], 'teslamate/cars/1/rated_battery_range_km': [Object], 'teslamate/cars/1/battery_level': [Object], 'teslamate/cars/1/usable_battery_level': [Object], 'teslamate/cars/1/plugged_in': [Object], 'teslamate/cars/1/charge_energy_added': [Object], 'teslamate/cars/1/charge_limit_soc': [Object], 'teslamate/cars/1/scheduled_charging_start_time': [Object], 'teslamate/cars/1/time_to_full_charge': [Object], 'teslamate/cars/1/update_available': [Object] }, messageIdToTopic: { '26205': [Array] }, pingTimer: ReInterval { _callback: [Function], _args: [], _interval: Timeout { _idleTimeout: 60000, _idlePrev: [TimersList], _idleNext: [TimersList], _idleStart: 190922, _onTimeout: [Function], _timerArgs: [Array], _repeat: 60000, _destroyed: false,

}, reschedule: [Function], clear: [Function], destroy: [Function] }, connected: true, disconnecting: false, queue: [], connackTimer: Timeout { _idleTimeout: -1, _idlePrev: null, _idleNext: null, _idleStart: 10600, _onTimeout: null, _timerArgs: undefined, _repeat: null, _destroyed: false,

}, reconnectTimer: null, _storeProcessing: false, _packetIdsDuringStoreProcessing: {}, nextId: 26206, outgoing: {}, _firstConnection: false, _events: [Object: null prototype] { connect: [Array], close: [Function], error: [Array], reconnect: [Function], message: [Function] }, _eventsCount: 5, _maxListeners: undefined, stream: Socket { connecting: false, _hadError: false, _parent: null, _host: null, _readableState: [ReadableState], readable: true, _events: [Object: null prototype], _eventsCount: 4, _maxListeners: 1000, _writableState: [WritableState], writable: true, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: null, _server: null,

}, reconnecting: false, pingResp: true }

dayzjarhead commented 3 years ago

Update... I can connect to the MQTT broker, I can publish topics and submit topics via MQTT.fx, but I can not query the topics from the broker, as you might expect. Maybe something has changed in the Tesla API? Has anyone got this MMM running?

dayzjarhead commented 3 years ago

So, well... update #2

I restarted the raspi that runs TeslaMate because I needed to rehouse it. Boom... problem solved. Dunno why. Cannot reproduce. I'm just kinda happy that it works.