Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starwhooper/rpi-deyesun600-to-mqtttls
poor script to provice information from deye sun 600 to mqtt broker (include tls support) as exampe hinvemq
https://github.com/starwhooper/rpi-deyesun600-to-mqtttls
deye hivemq mqtt raspberry
Last synced: 4 days ago
JSON representation
poor script to provice information from deye sun 600 to mqtt broker (include tls support) as exampe hinvemq
- Host: GitHub
- URL: https://github.com/starwhooper/rpi-deyesun600-to-mqtttls
- Owner: Starwhooper
- License: cc-by-sa-4.0
- Created: 2024-07-28T06:20:25.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T06:59:22.000Z (3 months ago)
- Last Synced: 2024-11-04T11:03:31.960Z (4 days ago)
- Topics: deye, hivemq, mqtt, raspberry
- Language: Python
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# RPi-deyesun600-to-mqtttls
poor script to provice information from deye sun 600 to mqtt broker (include tls support) as exampe hinvemq
![assigment](assignment.jpg)## Installation
install all needed packages to prepare the software environtent of your Raspberry Pi:### install required components
```bash
sudo apt install python3-paho-mqtt git -y
```### install this tool itself:
```bash
sudo git clone https://github.com/Starwhooper/RPi-deyesun600-to-mqtttls /opt//RPi-deyesun600-to-mqtttls
sudo chmod +x /opt/RPi-deyesun600-to-mqtttls/doit.py
```### config this tool:
```
sudo cp /opt/RPi-deyesun600-to-mqtttls/config.json.example /opt/RPi-deyesun600-to-mqtttls/config.json
sudo nano /opt/RPi-deyesun600-to-mqtttls/config.json
```
* add inverter IP Adress in
* add inverter username and password
* add broker username and password
* add broker url### add to autostart ###
add it to cronjob reboot
```bash
sudo crontab -e
```
insert line:
```
@reboot sleep 120 && /opt/RPi-deyesun600-to-mqtttls/doit.py
```
*My raspberry zero needs 120 seconds to boot and connect to lan. Feel free to check out shorter times.*## Update
If you already use it, feel free to update with
```bash
cd /opt/RPi-deyesun600-to-mqtttls
sudo git pull origin main
```##Note
The deye inverter provides information not in realtime. Its provides only all 5 minutes new information on webseite or over interface. So its not really needed, to push new information in seconds rotation to broker