Sign inSign up

pipp37/hoymiles-wifi-python

By pipp37

Updated about 2 years ago

Multi platform container for hoymiles solar inverters.

Image
API management
Internet of things
0

2.5K

pipp37/hoymiles-wifi-python repository overview

Docker container for hoymiles solar inverters.

This is the docker version of https://github.com/suaveolent/hoymiles-wifi.

This Python library facilitates communication with Hoymiles DTUs and the HMS-XXXXW-2T HMS microinverters, utilizing protobuf messages.

Usage:

docker run -it --rm pipp37/hoymiles-wifi-python hoymiles-wifi --host 192.168.xxx.xxx get-real-data

If no parameters are given all available commands are shown.

docker run -it --rm pipp37/hoymiles-wifi-python hoymiles-wifi

Changelog:

Version 1.0:

  • First push 24.6.24
  • Python version: hoymiles-wifi: 0.2.2

Dockerfile:

# syntax=docker/dockerfile:1

############################################################
# Dockerfile for hoymiles-wifi python project
# Github:  https://github.com/suaveolent/hoymiles-wifi
# (c) [email protected] 6/2024
############################################################

    #FROM debian:bullseye-slim
    #FROM python:3.9-slim-buster
    #FROM python:3.9-slim-bullseye

FROM python:3.12.4-slim-bullseye

LABEL org.opencontainers.image.authors="[email protected]"

ENV PIP_ROOT_USER_ACTION=ignore
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ARG DEBIAN_FRONTEND=noninteractive

WORKDIR /app

# DEVELOPMENT
    # RUN apt-get -y install inetutils-ping htop mc pv build-essential
    #RUN apt-get update -y
    #RUN apt-get -y install python3-pip
    #RUN pip3 install  hoymiles.wifi
    #RUN apt-get -y install inetutils-ping htop mc pv net-tools nano  dnsutils less traceroute vim procps
    #RUN apt-get clean
    #apt-get -y install python3-pip && \

# FINAL
    # RUN apt-get update -y &&   apt-get install -y inetutils-ping nano && \
    # apt-get clean && rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip
RUN pip install  hoymiles.wifi

# install some tools to image for debugging
RUN apt-get update && \
  apt-get -y install inetutils-ping htop  net-tools  dnsutils less traceroute  procps && \
  apt-get clean && rm -rf /var/lib/apt/lists/*

Tag summary

Content type

Image

Digest

sha256:bead45a46

Size

68.7 MB

Last updated

about 2 years ago

docker pull pipp37/hoymiles-wifi-python