Commit graph

687 commits

Author SHA1 Message Date
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_Päse
57bc46191c
RPi: README.md format one new section 2023-02-04 17:25:58 +01:00
Knuti_in_Paese
9a0bee831d RPi:specify README.md and collect data from EventsResponse 2023-02-04 16:40:50 +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_Paese
d996c2c10b RPI:using pyRF24 on Debian 11 bullseye environment
known RF24 lib can not installed on Debian 11 bullseye 64 bit operating system
now, system try to import RF24 nor pyrf24
2023-02-01 21:42:51 +01:00
Knuti_in_Päse
20abf8d3ba RPi:MQTT Last-Will - handling empty config
To handle empty config for last-will
2023-01-27 16:48:17 +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
Knuti_in_Päse
d80a9c83a8 RPi:extend decoder for HardwareInfoResponse output
To print Firmware data in main or in output.py, we need to add a new method __dict__() to class HardwareInfoResponse
2023-01-16 19:38:20 +01:00
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.
2023-01-15 20:19:38 +01:00
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)
2023-01-14 20:49:52 +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
eb0f3b319a
Delete ahoy.yml 2023-01-13 18:22:41 +01:00
Knuti_in_Päse
899dbaa346
Create ahoy.service 2023-01-13 13:15:28 +01:00
Knuti_in_Päse
2eef3b5bb4
Create ahoy.yml
privat ahoy-yml
2023-01-13 13:14:55 +01:00
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
2023-01-13 13:12:43 +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
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
lumapu
728b1f192d Merge branch 'main' into development03 2022-11-15 17:08:40 +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
lumapu
795cd64154 Merge branch 'main' into development03 2022-11-09 22:51:46 +01:00
lumapu
769796f53c fix workflow
add missing file
2022-11-09 22:50:33 +01:00
lumapu
fbad251236 refactored directory structure 2022-11-09 22:46:30 +01:00
lumapu
58bc1f1d8a refactored directory structure
revert PR #401 (no class, pasted to app.cpp)
2022-11-09 22:13:31 +01:00
Lukas Pusch
f5b66af793
Merge pull request #401 from gh-fx2/ssd1306
simple SSD1306 (i2c) + Nokia5110 support for esp8266 added
2022-11-09 21:32:58 +01:00
lumapu
1bee8152f7 fix manifest.json 2022-11-09 12:19:36 +01:00
lumapu
aa7a844ff8 fix CORS for local devbuild install 2022-11-09 12:12:44 +01:00