lumapu
e5d78bf5b4
Merge branch 'main' into development03
2023-07-23 23:23:13 +02:00
Knuti_in_Paese
3ee80c4790
RPi: crash while using multi inverters with diff num of strings
...
- add some comments
- change timestamp format for logging
2023-07-20 13:15:30 +02:00
Knuti_in_Paese
8eef8e2ef4
RPi: crash while using multi inverters with diff num of strings
...
add some comments
change timestamp format for logging
2023-07-20 13:02:23 +02:00
Knuti_in_Paese
9331d9197b
RPi:crash when using additional InfoCommands
...
Python goes in crash, when using an other InfoCommend
i.e. uncomment line 178 of __main__.py
2023-07-17 19:25:24 +02:00
Florian Schüller
3fa274e342
Fix suntimes working if mqtt is enabled but suntimes is disabled
2023-06-11 09:23:41 +02:00
Betacentauri
72d044bcf6
[rpi] Add config for transmit retries
...
and increase to 5 so that all channels are tried once
2023-05-06 12:05:21 +02:00
Betacentauri
ac207e0d37
[rpi] Add log file rotation
...
so that log file doesn't grow infinitely
2023-04-29 13:13:22 +02:00
Knuti_in_Paese
6b3af717fb
RPi:(new)DTU-name,Disco-handler,ext.Error-handling,sun2mqtt
...
Add disconnect handler for influx and volkszaehler.
Change spec. Informations on ahoy.service and ahoy.yml.example.
Extented Error handling.
Send sun-rise and sun-set information to MQTT.
2023-02-14 10:34:22 +01:00
Knuti_in_Paese
892f554ff5
RPI:finer tuned debug logging
...
Description for prep RF24 and pyrf24 on debian 11 (bullseye) 64 bit OS
2023-02-04 11:41:29 +01:00
Knuti_in_Paese
0d552e3007
RPI:error handling while getting corruppted data
...
extended error handling while getting corruppted data on 64 bit operating system (bullseye)
lots of currupted data are reseived on Debian 11 OS. So we have to check the data length before using strict.unpack
2023-02-02 14:21:30 +01:00
Knuti_in_Päse
c8af9c2e9a
RPi:MQTT support QoS, Retain and Last-Will
...
To support Quality of Service, Retain and Last-Will
Switch in ahoy.yml.example
2023-01-27 16:24:03 +01:00
Knuti_in_Päse
96d64faf62
RPi: send value irradiation to VZ and MQTT
...
to send all meassured and calculated values to Volkszaehler and to mqtt
change some logging levels for better differentiation
change frequency as part of AC phase
2023-01-25 11:49:13 +01:00
Knuti_in_Päse
67ed21ae2a
RPi:print HardwareInfoResponse on MQTT channel
...
print HardwareInfoResponse on MQTT channel
check: HardwareInfoResponse does not print on VZ
2023-01-19 11:26:21 +01:00
Lukas Pusch
a09b9c25ba
Merge pull request #585 from PaeserBastelstube/main
...
RPi: transport attributes to ResponseDecoder-Class
2023-01-13 21:43:22 +01:00
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
2023-01-13 13:05:59 +01:00
Knuti_in_Päse
f0894ca951
RPi: correct error while calling MqttOutputPlugin
...
In last patch I forgot the correct call to MqttOutputPlugin
Now, it testet
2023-01-13 12:36:54 +01:00
Lukas Pusch
0225481b29
Merge pull request #579 from PaeserBastelstube/RPI-function-MQTT-Output-as-class-method
...
RPi function mqtt output as class method
2023-01-13 07:56:03 +01:00
Knuti_in_Päse
dcfd966fe4
RPI move function MQTT-Output as class method
...
RPI move function MQTT-Output as class method to outputs.py
2023-01-11 15:13:00 +01:00
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.
2023-01-11 14:42:30 +01:00
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
2023-01-10 11:06:52 +01:00
Knuti_in_Päse
94cd4eb5bd
RPi: miss reactice power - add MQTT output [Q_VA]
...
Add MQTT Output [Q_VA] for reactive Power
2023-01-08 18:30:22 +01:00
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
2023-01-07 13:25:19 +01:00
fred777
a6ab1e7859
compute sunrise correctly after midnight
...
if it's already after midnight, the sun will rise today already, not tomorrow
2022-12-27 00:05:40 +01:00
Christian Ehrlicher
e148f89d0c
RPI: fix sleep calculation by using the correct (utc) time
2022-11-29 08:31:57 +01:00
Christian Ehrlicher
c2ef55f7a2
RPI: fix logging
2022-11-12 09:52:10 +01:00
Christian Ehrlicher
cbcfb8da72
RPI: use logging facility instead print()
2022-11-11 20:51:50 +01:00
Christian Ehrlicher
b5e81f1605
RPI: misc - don't extract DTU serial from config for every poll
2022-11-11 20:49:45 +01:00
Christian Ehrlicher
a13fc1d92a
RPI: fix SunsetHandler - use correct (utc) timestamp for comparision
2022-11-11 15:57:52 +01:00
Christian Ehrlicher
4c52f07889
RPI: cleanup SunsetHandler
2022-11-06 20:02:12 +01:00
Christian Ehrlicher
5beed9d8e0
RPI: print backtrace for unhandled exception
2022-11-06 10:23:37 +01:00
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
2022-11-04 21:43:52 +01:00
Christian Ehrlicher
ed205fba47
RPI: refactor: move more stuff into main_loop
2022-11-04 20:20:35 +01:00
noName
94a096b7b6
fix rare crash related to time shift which might cause negative sleep time
2022-10-23 22:20:33 +02:00
noName
8c843af71d
rpi: calculate energy_total for whole inverter
2022-10-14 09:21:29 +02:00
Christian Ehrlicher
5cd2d70a9b
RPI: some more changes to properly throw and catch exceptions
2022-10-02 13:03:43 +02:00
Christian Ehrlicher
f332738ceb
RPI: properly catch exception when crc8 check failed
2022-09-17 10:29:20 +02:00
Christian Ehrlicher
fb6250a109
RPI: Request alarm when alarm id changes
2022-09-13 17:18:24 +02:00
Christian Ehrlicher
de90c19eb3
RPI: add handling for InverterDevInform_All message, handle
...
RealTimeRunData_Reality similar to RealTimeRunData_Debug
2022-09-12 18:58:28 +02:00
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
2022-09-04 14:24:54 +02:00
Christian Ehrlicher
82f1562129
Initial plugin to directly send the values from the inverter to the volkszaehler middleware
2022-08-18 17:03:03 +02:00
ngt-github
616e889e94
Added options for TLS usage for MQTT client and insecure certificate handling
2022-08-13 23:36:39 +02:00
Jan-Jonas Sämann
391fec99d2
Pypackage fix interval sleep time
2022-05-29 07:22:44 +02:00
Jan-Jonas Sämann
88e9de42b8
pypackage add powerfactor where possible
2022-05-24 18:26:48 +02:00
Jan-Jonas Sämann
5935e0dabe
Update pypackage set txpower per nrf/inverter
...
Add config parameter `txpower` in inverters- and nrf context.
This enables overriding txpower default RF24_PA_MAX, in some cases
inverters require RF24_PA_LOW. For larger setups, txpower can be set per
inverter to be able to query a far away (max) and a near by (low) one from within
one instance.
Valid values can be:
* `txpower: 'max'` (corresponds to RF24_PA_MAX, default)
* `txpower: 'low'` (corresponds to RF24_PA_LOW)
2022-05-23 07:31:09 +02:00
Jan-Jonas Sämann
e4eebb67e4
Improve python code quality
...
Mostly fix naming convetion, add descriptions. Cleanup code, left behind
from tinkering.
2022-05-16 12:29:58 +02:00
Jan-Jonas Sämann
5101b22ff7
Provide Influx2 output plugin
...
Allready thougt about it earlier and requested in #29
2022-05-15 16:19:38 +02:00
Jan-Jonas Sämann
532168e1eb
Allow disable mqtt
2022-05-14 19:51:47 +02:00
Jan-Jonas Sämann
d408264521
Adds documentation to python-hoymiles module
2022-05-11 18:52:28 +02:00
Jan-Jonas Sämann
d27f0c1148
Integrate ahoy.py into hoymiles module
...
Finally get rid of ahoy.py and integrate functionallity into the module
itself. Prepares for pipelines, adding pip installer or debian packaging.
Improve configuration adds commandline switches for:
* `--verbose, enabling verbose logging
* `--log-transactions`, outbut all rf raw data
Improve loop, now runs all queued commands per inverter within interval.
Skip sleep when interval is allready due.
2022-05-11 00:05:09 +02:00