denverquane / MMM-Teslamate

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

Teslamate not working after latest Magic mirror pull. #11

Closed PierreGode closed 4 years ago

PierreGode commented 4 years ago

I have been having this module working perfectly for months now. 2 days ago I did a git pull on magic mirror and teslamate stop working, or magic mirror I get a black screen with the mouse in upper corner. I have reinstalled magic mirror, removed all other modules, and a prune on all docker servers and composed new ones, I logged in to teslamate without issues, grafana is also running.

this is my config

// Tesla Mate // { module: 'MMM-Teslamate', position: 'bottom_left', config: { mqttServer: { address: 'localhost', // Server address or IP address of the MQTT broker port: '1883' // Port number if other than default (1883) //no user needed, go to http://raspberripiI-P/:4000 and login to teslamate }, imperial: false, //use imperial units (false = Miles & F) or metric (true = Km & C)

            // set to true to enable both the graphic, and the additional stats
            // (charge remaining, scheduled charge start, etc)
            hybridView: true,
            // size of the visible area
            sizeOptions: {
                // size of the icons + battery (above text)
                width: 450, // px, default: 450
                height: 303, // px, default: 203
                // the battery images itself
                batWitdh: 187, // px, default: 250
                batHeight: 56, // px, default: 75
            },
            carImageOptions: {
                model: "m3", // mx, ms (S pre-refresh), ? (S post-refresh)

                view: "STUD_3QTR", // STUD_SIDE works better for S/X

                // full list of option codes: https://tesla-api.timdorr.com/vehicle/optioncodes.
                // you need at least the color and the wheels. not all combos work.
                // also consult: https://teslaownersonline.com/threads/teslas-image-compositor.7089/
                options: "PPMR,PFP31,W39B,FM3B", //<<<< This is your car visual settings. get codes on  https://tesla-api.timdorr.com/vehicle/optioncodes

                // play with this until it looks about right.
                // tested values: 0 for m3/STUD_3QTR, 25 for ms/STUD_SIDE
                verticalOffset: 0,

                opacity: 0.5
            }
        }
    },
PierreGode commented 4 years ago

Solved with reboot of raspeberry..