Knuti_in_Päse
ccca67d5c4
RPi: update description on ahoy.service
Automatic operation of Ahoy on an RPi can be based on the systemd method.
To activate systemd processes for ahoy, the config ahoy.service is needed.
2 years ago
Knuti_in_Päse
17c1fec2ad
RPi-calculate and print irradiation (Bestrahlung)
To calculate irradiation, max-power of each PV module must be defined in ahoy.yml (pls see ahoy.yml.example)
2 years ago
Knuti_in_Päse
eb0f3b319a
Delete ahoy.yml
2 years ago
Knuti_in_Päse
899dbaa346
Create ahoy.service
2 years ago
Knuti_in_Päse
2eef3b5bb4
Create ahoy.yml
privat ahoy-yml
2 years ago
Knuti_in_Päse
5db34cd5f2
RPi: support to transmit some attributes
To import some attribute to data-dict-variable, we need to transport this attributes to ResponseDecoder-Class
2 years ago
Knuti_in_Päse
787da07457
RPi: submit attributes to decoder
To import some attributes to data-dict-variable, this attributes must be submit to decoder classes
2 years ago
Knuti_in_Päse
f0894ca951
RPi: correct error while calling MqttOutputPlugin
In last patch I forgot the correct call to MqttOutputPlugin
Now, it testet
2 years ago
Knuti_in_Päse
bcd279ba03
Update class MqttOutputPlugin
movin function from main to class-method
2 years ago
Knuti_in_Päse
dcfd966fe4
RPI move function MQTT-Output as class method
RPI move function MQTT-Output as class method to outputs.py
2 years ago
Knuti_in_Päse
7fad17aa3e
RPI extend debug meassage for better understanding
The response of HardwareInfoResponse contains 16 byte, but only 8 bytes are known.
Analyse result of the last 2 bytes: This bytes contain the CRC-modbus.
To observe the double-byte (6, 10, 12), this extended log message could help.
2 years ago
Knuti_in_Päse
77087f1c37
RPI simpify and complete debug message
Debug message in function "poll_inverter" is not maintainable.
It is very easy to print a dict with all important data instead.
2 years ago
Knuti_in_Päse
4df6eab987
RPI: avoid error if mqtt is not defined
If MQTT is not defined in ahoy.yml, ahoy send an AttributeError
2 years ago
Knuti_in_Päse
e3b0f55467
Update output for VZ and Influx
In last days, we update MQTT output, now we sync this updates for VZ and Influx.
- reactive_power - Q_AC
- YieldDay and YieldTotal
2 years ago
Knuti_in_Päse
94cd4eb5bd
RPi: miss reactice power - add MQTT output [Q_VA]
Add MQTT Output [Q_VA] for reactive Power
2 years ago
Knuti_in_Päse
2c7e60352d
RPI: reactive power (Blindleistung) missing
we are missing "weactive power" (Blindleistung) in our output on RPi.
On ESP it is working allready.
2 years ago
PaeserBastelstube
7dedcc2c8a
Add mqtt global head (print timestamp) and add DC-yield-daily
MQTT record must have a timestamp for visualising last data received.
DC-yield-daily is availible in "data" variable, but not printed in mqtt record.
MQTT topics between ESP and RPI shoud be equel, so I sugest to change topic for YieldTotal
2 years ago
PaeserBastelstube
93ae88fca2
change AC_CURRENT divider to 100
In line 514, ac_current dividor must be 100 not 10
There is a mismatch in AC output: power[Watt] = voltage[Volt] * current[Ampere]
2 years ago
fred777
a6ab1e7859
compute sunrise correctly after midnight
if it's already after midnight, the sun will rise today already, not tomorrow
2 years ago
Christian Ehrlicher
06af61742a
RPI: Fix reading negative temperature - now also for Hoymiles600/1200 inverters
2 years ago
Christian Ehrlicher
b058bc10be
RPI: Fix reading negative temperature - must be treated as signed short,
not unsigned short
2 years ago
Christian Ehrlicher
e148f89d0c
RPI: fix sleep calculation by using the correct (utc) time
2 years ago
Christian Ehrlicher
c2ef55f7a2
RPI: fix logging
2 years ago
Christian Ehrlicher
cbcfb8da72
RPI: use logging facility instead print()
2 years ago
Christian Ehrlicher
b5e81f1605
RPI: misc - don't extract DTU serial from config for every poll
2 years ago
Christian Ehrlicher
0df4f38dac
RPI: remove unused function and import
2 years ago
Christian Ehrlicher
a13fc1d92a
RPI: fix SunsetHandler - use correct (utc) timestamp for comparision
2 years ago
Christian Ehrlicher
4c52f07889
RPI: cleanup SunsetHandler
2 years ago
Christian Ehrlicher
5beed9d8e0
RPI: print backtrace for unhandled exception
2 years ago
Christian Ehrlicher
ac45ff7108
RPI: don't try to reach inverter after sunset, will not work for polar
day or night but should be easy to add if really needed
2 years ago
Christian Ehrlicher
ed205fba47
RPI: refactor: move more stuff into main_loop
2 years ago
noName
94a096b7b6
fix rare crash related to time shift which might cause negative sleep time
2 years ago
noName
8c843af71d
rpi: calculate energy_total for whole inverter
2 years ago
Christian Ehrlicher
5cd2d70a9b
RPI: some more changes to properly throw and catch exceptions
2 years ago
Christian Ehrlicher
f332738ceb
RPI: properly catch exception when crc8 check failed
2 years ago
Christian Ehrlicher
fb6250a109
RPI: Request alarm when alarm id changes
2 years ago
Christian Ehrlicher
de90c19eb3
RPI: add handling for InverterDevInform_All message, handle
RealTimeRunData_Reality similar to RealTimeRunData_Debug
2 years ago
Christian Ehrlicher
73a0397107
RPI: be able to handle more than one inverter with the volkszaehler
plugin
2 years ago
Christian Ehrlicher
c6fb43c4ef
RPI: don't throw exception when no valid frame was received
2 years ago
Christian Ehrlicher
ddbb35eff3
RPI: use a requests seesion for the volkszaehler plugin to be able to
use hhtp keep-alive functionality. Print debug-output only when debug
is enabled
2 years ago
Christian Ehrlicher
6753be8871
Take timestamp from response instead local time
2 years ago
Christian Ehrlicher
5f6b175742
Add comment about missing python modules, move section about ahoy
example config before the 'example run' section.
2 years ago
Christian Ehrlicher
82f1562129
Initial plugin to directly send the values from the inverter to the volkszaehler middleware
2 years ago
ngt-github
616e889e94
Added options for TLS usage for MQTT client and insecure certificate handling
2 years ago
stefan123t
7131ea5c7d
fix line end comments
fix line end comments in tools/rpi/hoymiles/decoders/__init__.py
2 years ago
stefan123t
836dc1526b
Commented Error-Codes with Hex-Equivalents
Commented Error-Codes with Hex-Equivalents
3 years ago
DanielR92
121ce7cbe7
Update __init__.py (short one line)
Use the function 'hexify_payload()' in other lines
3 years ago
stefan123t
d876fe841e
added pyRF24 build instructions from mslookup
3 years ago
Jan-Jonas Sämann
044cf316b5
Decode 80 02 as EventsResponse
Data also looks like some sort of table
3 years ago
Jan-Jonas Sämann
6b47291ac1
Add payload debug function print_table_unpack
Helps recognize values in unknown payloads by decoding data from payload
with different offsets, data types and print results as aligned table
Enhances DebugDecodeAny class
3 years ago