The new version of this will create new devices for each inverter you have, that will have all the data for that inverter on it
This is a very simple tool to get the data out of FoxEss-cloud and into MQTT, it has some very rough edges.
docker run --name foxescloud \
-e TIMEZONE=Europe/London \
-v /home/user/foxess_data:/foxess-mqtt/data \
mhzawadi/foxess-mqtt
- TIMEZONE - This is the time your in, else use UTC List of Supported Timezones
The new PHP script uses json for the config, you can copy the below code and paste into config.josn or run the image and wait for it spit out the files.
You now dont need to provide your device ID as we now collect all devices in your account
The json for the config.json file
{
"foxess_username": "changeme",
"foxess_password": "changeme",
"device_id": "changeme",
"mqtt_host": "changeme",
"mqtt_port": "changeme",
"mqtt_user": "changeme",
"mqtt_pass": "changeme",
"mqtt_topic": "foxesscloud",
"log_level": 2,
"total_over_time": true
}
- log_level: is how much you want in the console, 1 is minimal, 2 is basic, 3 is everything
- mqtt_topic: this is a custom top level topic, you will still get sub topics for each device on your account
- total_over_time: this will track KWh over time if true (the default) or whats downloaded at every run