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
bcd279ba03
Update class MqttOutputPlugin
...
movin function from main to class-method
2023-01-11 20:27:28 +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
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.
2023-01-11 15:01:54 +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
Lukas Pusch
52e8d98319
Merge pull request #574 from PaeserBastelstube/RPI-avoid-AttributeError-if-MQTT-is-not-defined-in-ahoy.yml
...
RPI: avoid error if mqtt is not defined
2023-01-11 09:02:11 +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
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
2023-01-09 20:58:55 +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
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.
2023-01-08 18:17:55 +01:00
Lukas Pusch
d289d37ef1
Merge pull request #559 from PaeserBastelstube/RPI-add-yield-daily-for-mqtt-output
...
Add mqtt global head (print timestamp) and add DC-yield-daily
2023-01-07 21:32:52 +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
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]
2023-01-05 18:50:44 +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
06af61742a
RPI: Fix reading negative temperature - now also for Hoymiles600/1200 inverters
2022-12-18 11:57:35 +01:00
Christian Ehrlicher
b058bc10be
RPI: Fix reading negative temperature - must be treated as signed short,
...
not unsigned short
2022-12-14 19:32:09 +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
0df4f38dac
RPI: remove unused function and import
2022-11-11 20:43:39 +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
Andreas Schiffler
800e07e6fa
Merge pull request #255 from chehrlic/chris_max_throws_exception
...
RPI: don't throw exception when no valid frame was received
2022-09-08 09:06:23 +02:00
Christian Ehrlicher
73a0397107
RPI: be able to handle more than one inverter with the volkszaehler
...
plugin
2022-09-06 17:48:46 +02:00
Christian Ehrlicher
c6fb43c4ef
RPI: don't throw exception when no valid frame was received
2022-09-06 17:47:09 +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
Andreas Schiffler
b8ed52b4a2
Merge pull request #173 from chehrlic/chris_vz
...
Initial plugin to directly send the values from the inverter to the v…
2022-08-19 08:30:23 +02:00
Christian Ehrlicher
6753be8871
Take timestamp from response instead local time
2022-08-18 18:06:20 +02:00
Christian Ehrlicher
5f6b175742
Add comment about missing python modules, move section about ahoy
...
example config before the 'example run' section.
2022-08-18 17:10:33 +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
stefan123t
7131ea5c7d
fix line end comments
...
fix line end comments in tools/rpi/hoymiles/decoders/__init__.py
2022-08-08 00:54:36 +02:00
stefan123t
836dc1526b
Commented Error-Codes with Hex-Equivalents
...
Commented Error-Codes with Hex-Equivalents
2022-07-29 10:51:56 +02:00
DanielR92
121ce7cbe7
Update __init__.py (short one line)
...
Use the function 'hexify_payload()' in other lines
2022-06-30 09:31:19 +02:00
stefan123t
d876fe841e
added pyRF24 build instructions from mslookup
2022-06-16 11:30:33 +02:00
Jan-Jonas Sämann
044cf316b5
Decode 80 02 as EventsResponse
...
Data also looks like some sort of table
2022-06-07 01:53:44 +02:00
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
2022-06-07 01:51:15 +02:00
Jan-Jonas Sämann
391fec99d2
Pypackage fix interval sleep time
2022-05-29 07:22:44 +02:00
Jan-Jonas Sämann
4e709254c7
pypackage add event log entry count for 1161
2022-05-24 20:10:28 +02:00