Commit graph

1069 commits

Author SHA1 Message Date
Lukas Pusch
b53018f13e
Merge pull request #583 from PaeserBastelstube/RPi-correct-calling-of-MqttOutputPlugin
RPi: correct error while calling MqttOutputPlugin
2023-01-13 21:22:20 +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
Lukas Pusch
4c5a01fe2d
Merge pull request #578 from PaeserBastelstube/RPI-simplify-and-extend-some-debug-messages
Rpi simplify and extend some debug messages
2023-01-13 07:55:26 +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
Lukas Pusch
bb90c810d3
Merge pull request #572 from PaeserBastelstube/RPI-Sync-Output-from-MQTT-to-VZ-and-Influx
Sync mqtt output to VZ and Influx
2023-01-11 08:59:16 +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
Lukas Pusch
d9eaafea6b
Merge pull request #563 from PaeserBastelstube/patch-1
RPi: missing reactive power (Blindleistung) - add MQTT Output
2023-01-09 17:09:27 +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
Lukas Pusch
a636a1a9da
Merge pull request #558 from PaeserBastelstube/RPI-fix-DC-current-calculation
change AC_CURRENT divider to 100
2023-01-07 21:31:26 +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
lumapu
f8fe044e1b Release 0.5.66
(fix NTP sync)
2022-12-30 23:17:22 +01:00
lumapu
ded5e70d79 Release 0.5.65 2022-12-30 22:44:38 +01:00
lumapu
8225a18292 Release 0.5.65 2022-12-30 22:41:26 +01:00
lumapu
945a671d27 Merge branch 'main' into development03 2022-12-30 22:27:22 +01:00
lumapu
52423e679f wifi, code optimization #509 2022-12-30 22:26:37 +01:00
lumapu
73b6ff073c channel name can use any character, not limited any more
added `/` to MQTT topic and Inverter name
trigger for `calcSunrise` is now using local time #515
fix reconnect timeout for WiFi #509
start AP only after boot, not on WiFi connection loss
improved /system `free_heap` value (measured before JSON-tree is built)
2022-12-28 23:38:33 +01:00
lumapu
75628ad230 added update information to index.html 2022-12-28 00:08:18 +01:00
lumapu
4f962ff962 potential fix of #526 duplicates in API /api/record/live 2022-12-27 23:27:53 +01:00
lumapu
ed16cff06e fix Update button protection (prevent double click #527)
optimized scheduler #515 (thx @beegee3)
2022-12-27 23:15:36 +01:00
lumapu
e5de2517e2 added retained information to docu 2022-12-27 21:34:24 +01:00
lumapu
0dd90ddf5c update User_Manual.md 2022-12-27 21:12:24 +01:00
lumapu
3d6beed6b7 fix table display 2022-12-27 21:09:27 +01:00
lumapu
a8d9b7ad0b fix MQTT status update
removed MQTT `available_text` (can be deducted from `available`)
enhanced MQTT documentation in `User_Manual.md`
remvoed `tickSunset` and `tickSunrise` from MQTT. It's not needed any more because of minute wise check of status (`processIvStatus`)
changed MQTT topic `status` to nummeric value, check documentation in `User_Manual.md`
fix regular expression of `setup.html` for inverter name and channel name
2022-12-27 21:05:31 +01:00
Lukas Pusch
5b8a94cd94
Merge pull request #524 from fred777/main
compute sunrise correctly after midnight
2022-12-27 09:38:03 +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
lumapu
2a24400550 update CHANGES.md 2022-12-26 23:47:12 +01:00
lumapu
b56b1a4697 Merge branch 'gh-fx2-monodpy3' into development03 2022-12-26 23:43:55 +01:00
lumapu
943b2e0405 Merge branch 'monodpy3' of https://github.com/gh-fx2/ahoy into gh-fx2-monodpy3 2022-12-26 23:43:18 +01:00
lumapu
c3fc01b956 fix #521 no reconnect at beginning of day
added immediate (each minute) report of inverter status MQTT #522
added protection mask to select which pages should be protected
2022-12-26 23:32:22 +01:00
fx2
c8a739c46d monodpy: show values also if nothing changed 2022-12-24 22:01:09 +01:00
lumapu
6bb8a4e448 added regex to inverter name and MQTT topic (setup.html)
beautified serial.html
added ticker for wifi loop #515
reverted sunrise / sunset ticker to most recent version
2022-12-24 00:49:53 +01:00
lumapu
c71975a164 version fix (was not increased)
increased MQTT user, pwd and topic length to 64 characters + `\0`. (The string end `\0` reduces the available size by one) #516
2022-12-22 12:20:01 +01:00
lumapu
c973d6eace fix github actions for ESP32 2022-12-22 12:11:34 +01:00
lumapu
de4c572ee2 fix night communication enable
improved different WiFi connection scenarios (STA WiFi not found, reconnect #509, redirect for AP to configuration)
2022-12-22 11:49:01 +01:00
lumapu
07bf947ff7 improved stability
improved wifi initial connection - especially if station wifi is not available #509
removed new operators from web.h (reduce dynamic allocation)
improved sun calculation #515, #505
fixed wifi auto reconnect #509
added disable night communication flag to MQTT #505
changed MQTT publish of `available` and `available_text` to sunset #468
2022-12-20 22:43:54 +01:00
lumapu
5977bbaee6 improved stability
added icons to index.html, added wifi-strength symbol on each page
moved packet stats and sun to system.html
refactored communication offset (adjustable in minutes now)
2022-12-20 00:04:25 +01:00
lumapu
07c75b544c Merge branch 'main' into development03 2022-12-18 12:10:32 +01:00
Lukas Pusch
e0722f7ac5
Merge pull request #506 from chehrlic/chris_vz
RPI: Fix reading negative temperature - now also for Hoymiles600/1200 inverters
2022-12-18 12:07:22 +01:00
lumapu
c8ec1c193f fix workflow compile 2022-12-18 12:06:36 +01:00
Christian Ehrlicher
06af61742a RPI: Fix reading negative temperature - now also for Hoymiles600/1200 inverters 2022-12-18 11:57:35 +01:00
lumapu
4df61833ca beautified system.html (converted to table) 2022-12-18 01:14:54 +01:00