Skip to content

Client written in Go for YouLess energy monitor

License

Notifications You must be signed in to change notification settings

roeldev/youless-client

Repository files navigation

Client for YouLess energy monitor

Latest release Build status Go Report Card Documentation

Package youless contains a client which can read from the api of a YouLess device.

go get github.com/roeldev/youless-client
import "github.com/roeldev/youless-client"

API

Method Endpoint Description
GetDeviceInfo /d Get device information
GetMeterReading /e Get meter reading
GetPhaseReading /f Get phase reading
GetP1Telegram /V?p=# Get P1 telegram
GetLog /V Get report of Electricity utility
/W Get report of Gas utility
/K Get report of Water utility
/Z Get report of S0 utility

Utilities

Const Page Units
Electricity V Watt, kWh
S0 Z Watt, kWh
Gas W L, m3
Water K L, m3

Intervals

Const Interval Param LS110 history* LS120 history* Unit (electricity/s0) Unit (gas/water)
PerMin 1 minute h 1 hour (2x30) 10 hours (20x30) watt n/a
Per10Min 10 minutes w 1 day (3x48) 10 days (30x48) watt liter
PerHour 1 hour d 7 days (7x24) 70 days (70x24) watt liter
PerDay 1 day m 1 year (12x31) 1 year (12x31) kWh m3 (cubic meter)
  • = max. history (amount of pages x data entries)

Units

Const API equiv. Utilities
Watt Watt electricity, s0
KWh kWh electricity, s0
Liter L gas, water
CubicMeter m3 gas, water

Documentation

Additional detailed documentation is available at pkg.go.dev

Links

Created with

License

Copyright © 2024-2025 Roel Schut. All rights reserved.

This project is governed by a BSD-style license that can be found in the LICENSE file.