{"id":16508968,"url":"https://github.com/teuler/solarmqtt","last_synced_at":"2025-11-10T14:32:31.430Z","repository":{"id":172376772,"uuid":"649216279","full_name":"teuler/solarmqtt","owner":"teuler","description":"Display für Solar-Balkonkraftwerk mit Pico und MQTT ","archived":false,"fork":false,"pushed_at":"2023-10-22T11:16:42.000Z","size":3485,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T17:12:48.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Visual Basic 6.0","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teuler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-04T06:44:54.000Z","updated_at":"2023-10-14T14:18:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8efba35-b202-494f-935c-a8d58ab446d4","html_url":"https://github.com/teuler/solarmqtt","commit_stats":null,"previous_names":["teuler/solarmqtt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teuler%2Fsolarmqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teuler%2Fsolarmqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teuler%2Fsolarmqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teuler%2Fsolarmqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teuler","download_url":"https://codeload.github.com/teuler/solarmqtt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460090,"owners_count":19966511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T15:48:33.057Z","updated_at":"2025-11-10T14:32:31.422Z","avatar_url":"https://github.com/teuler.png","language":"Visual Basic 6.0","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solarmqtt\n\n[\u003cimg src=\"https://github.com/teuler/solarmqtt/blob/main/pics/scr02.png\" align=\"right\" alt=\"Drawing\" width=\"320\"/\u003e](https://github.com/teuler/solarmqtt/blob/main/pics/scr02.png)\n\nDisplay für Solar-Balkonkraftwerk mit Pico und MQTT. Läuft auf einem [Raspberry Pi Pico W](https://www.raspberrypi.com/products/raspberry-pi-pico/) unter [MMBasic](https://mmbasic.com/) in der [Webmite](https://geoffg.net/webmite.html)-Version (v6.00.02). Interpretiert MQTT-Nachrichten über die erzeugte Solarenergie, hier vom in [Home Assistant](https://www.home-assistant.io/) eingebauten MQTT-Broker.\n\n## Material\n- 1x [Raspberry Pi Pico W](https://www.raspberrypi.com/products/raspberry-pi-pico/), z.B. von [Reichelt](https://www.reichelt.de/de/de/raspberry-pi-pico-w-rp2040-cortex-m0-wlan-microusb-rasp-pi-pico-w-p329646.html?PROVID=2788\u0026gclid=EAIaIQobChMIuuXRwPKs_wIVTxUGAB0hJw2sEAQYASABEgL6TPD_BwE\u0026\u0026r=1)\n- 1x [WaveShare 2.8\" 320x240 Touch Display Module für Raspberry Pi Pico](https://www.waveshare.com/wiki/Pico-ResTouch-LCD-2.8) (262K Farben, SPI), z.B. von [Eckstein](https://eckstein-shop.de/WaveShare28inchTouchDisplayModuleforRaspberryPiPico2C262KColors2C320C3972402CSPI)\n- Optional 1x Micro-SD-Karte (bis 32 GB, mit FAT16 oder FAT32 formatiert), falls Screenshots gespeichert werden sollen \n\n\u003c!-- Pro Wechselrichter einen [Shelly Plug S](https://www.shelly.cloud/en/products/shop/shelly-plug-s) oder einen vergleichbaren, Home Assistant-kompatiblen Zwischenstecker zur Leistungsmessung.--\u003e\n\n## House assistant\n\n**Auslöser - Time trigger pattern**\n```yaml\nplatform: time_pattern\nseconds: /10\nenabled: true\n```\n\n**Aktion(en) - MQTT Publish**\n```yaml\nservice: mqtt.publish\ndata:\n  qos: 0\n  retain: false\n  topic: solar/panels\n  payload: \u003e-\n    name:\n    [o,u];\n    pw:\n    [{{states.sensor.shellyplug2_solar_1_power.state | round(1)}},\n     {{states.sensor.shellyplug2_solar_2_power.state | round(1)}}];\n    pw-u:\n    [{{states.sensor.shellyplug2_solar_1_power.attributes.unit_of_measurement}}];\n    en:\n    [{{states.sensor.shellyplug2_solar_1_energy.state | round(1)}},\n     {{states.sensor.shellyplug2_solar_2_energy.state | round(1)}}];\n    en-u:\n    [{{states.sensor.shellyplug2_solar_1_energy.attributes.unit_of_measurement}}];\n    opw:\n    [{{ int(is_state(\"binary_sensor.shellyplug2_solar_1_overpowering\", \"on\")) }},\n     {{ int(is_state(\"binary_sensor.shellyplug2_solar_2_overpowering\",\"on\")) }}];\n    oht:\n    [{{ int(is_state(\"binary_sensor.shellyplug2_solar_1_overheating\", \"on\")) }},\n     {{ int(is_state(\"binary_sensor.shellyplug2_solar_2_overheating\", \"on\")) }}];\n    th:\n    [{{states.sensor.indoor_outdoor_meter_0580_temperatur.state}},\n     {{states.sensor.indoor_outdoor_meter_0580_luftfeuchtigkeit.state}}];\n```\n\n## Hinweise\n- Die Länge einer MQTT-Nachricht ist bei MMBasic begrenzt, daher werden kurze, weniger aussagekräftige Feldnamen in der MQTT-Nachricht verwendet\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteuler%2Fsolarmqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteuler%2Fsolarmqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteuler%2Fsolarmqtt/lists"}