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
Jan-Jonas Sämann
34f6f9363d
pypackage typo
2022-05-24 19:28:58 +02:00
Jan-Jonas Sämann
d5252866f8
pypackage add txpower min, high
...
Now txpower can be one of min, low, high, max
2022-05-24 18:34:38 +02:00
Jan-Jonas Sämann
88e9de42b8
pypackage add powerfactor where possible
2022-05-24 18:26:48 +02:00
Jan-Jonas Sämann
68cb8a59d9
Pypackage Disable retransmit in log parse mode
...
Disable retransmit if InverterTransaction is invoked without an actual
radio attached.
2022-05-24 18:12:43 +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
93b3f02b24
Add pypackage retransmit last frame
...
Mentioned in #30 by @stefan123t
2022-05-21 17:58:50 +02:00
lumapu
8238e90903
* fix #38 current assignment for 4-channel inverters
...
* added last received timestamp in /hoymiles livedata web page #47
* improved style.css
* improved NTP as described in #46
2022-05-19 16:52:21 +02:00
Jan-Jonas Sämann
e473583a55
Change alarm code 2
...
Seems that alarm code 2 appears on failed commands
2022-05-16 13:10: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
2934c23688
Update UnknownResponse decoder
2022-05-15 18:26:59 +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
7415139038
Provide rx time in response
2022-05-15 16:06:38 +02:00
Jan-Jonas Sämann
e5b427f4f2
Provice decoders super class to ensure properties
2022-05-15 16:04:38 +02:00
Jan-Jonas Sämann
532168e1eb
Allow disable mqtt
2022-05-14 19:51:47 +02:00