44faa0316c 
								
									
								
							
								 
							
						 
						
							
							
								
								MI - reviw ac calculation ( #2 )  
							
							
 
							
							
							* Update: RPi documentation
* Update miPayload.h
* Update README.md
* MI - remarks to user manual
* MI - getting started
* MI - user manual typos
* MI - fix AC calc
* MI - fix status msg. analysis
---------
Co-authored-by: DM6JM <micheleblank@gmx.com>
Co-authored-by: Lukas Pusch <lp@lufami.de> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6d9cd6142 
								
							
								 
							
						 
						
							
							
								
								Update: RPi documentation  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								57bc46191c 
								
									
								
							
								 
							
						 
						
							
							
								
								RPi: README.md format one new section  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a0bee831d 
								
							
								 
							
						 
						
							
							
								
								RPi:specify README.md and collect data from EventsResponse  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								892f554ff5 
								
							
								 
							
						 
						
							
							
								
								RPI:finer tuned debug logging  
							
							
 
							
							
							Description for prep RF24 and pyrf24 on debian 11 (bullseye) 64 bit OS 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20abf8d3ba 
								
							
								 
							
						 
						
							
							
								
								RPi:MQTT Last-Will - handling empty config  
							
							
 
							
							
							To handle empty config for last-will 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8af9c2e9a 
								
							
								 
							
						 
						
							
							
								
								RPi:MQTT support QoS, Retain and Last-Will  
							
							
 
							
							
							To support Quality of Service, Retain and Last-Will
Switch in ahoy.yml.example 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67ed21ae2a 
								
							
								 
							
						 
						
							
							
								
								RPi:print HardwareInfoResponse on MQTT channel  
							
							
 
							
							
							print HardwareInfoResponse on MQTT channel
check: HardwareInfoResponse does not print on VZ 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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) 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								eb0f3b319a 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete ahoy.yml  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								899dbaa346 
								
									
								
							
								 
							
						 
						
							
							
								
								Create ahoy.service  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2eef3b5bb4 
								
									
								
							
								 
							
						 
						
							
							
								
								Create ahoy.yml  
							
							
 
							
							
							privat ahoy-yml 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5db34cd5f2 
								
									
								
							
								 
							
						 
						
							
							
								
								RPi: support to transmit some attributes  
							
							
 
							
							
							To import some attribute to data-dict-variable, we need to transport this attributes to ResponseDecoder-Class 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								787da07457 
								
									
								
							
								 
							
						 
						
							
							
								
								RPi: submit attributes to decoder  
							
							
 
							
							
							To import some attributes to data-dict-variable, this attributes must be submit to decoder classes 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f0894ca951 
								
									
								
							
								 
							
						 
						
							
							
								
								RPi: correct error while calling MqttOutputPlugin  
							
							
 
							
							
							In last patch I forgot the correct call to MqttOutputPlugin
Now, it testet 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bcd279ba03 
								
									
								
							
								 
							
						 
						
							
							
								
								Update class MqttOutputPlugin  
							
							
 
							
							
							movin function from main to class-method 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								dcfd966fe4 
								
									
								
							
								 
							
						 
						
							
							
								
								RPI move function MQTT-Output as class method  
							
							
 
							
							
							RPI move function MQTT-Output as class method to outputs.py 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4df6eab987 
								
									
								
							
								 
							
						 
						
							
							
								
								RPI: avoid error if mqtt is not defined  
							
							
 
							
							
							If MQTT is not defined in ahoy.yml, ahoy send an AttributeError 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								94cd4eb5bd 
								
									
								
							
								 
							
						 
						
							
							
								
								RPi: miss reactice power - add MQTT output [Q_VA]  
							
							
 
							
							
							Add MQTT Output [Q_VA] for reactive Power 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2c7e60352d 
								
									
								
							
								 
							
						 
						
							
							
								
								RPI: reactive power (Blindleistung) missing  
							
							
 
							
							
							we are missing "weactive power" (Blindleistung) in our output on RPi.
On ESP it is working allready. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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] 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6ab1e7859 
								
							
								 
							
						 
						
							
							
								
								compute sunrise correctly after midnight  
							
							
 
							
							
							if it's already after midnight, the sun will rise today already, not tomorrow 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06af61742a 
								
							
								 
							
						 
						
							
							
								
								RPI: Fix reading negative temperature - now also for Hoymiles600/1200 inverters  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b058bc10be 
								
							
								 
							
						 
						
							
							
								
								RPI: Fix reading negative temperature - must be treated as signed short,  
							
							
 
							
							
							not unsigned short 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e148f89d0c 
								
							
								 
							
						 
						
							
							
								
								RPI: fix sleep calculation by using the correct (utc) time  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2ef55f7a2 
								
							
								 
							
						 
						
							
							
								
								RPI: fix logging  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbcfb8da72 
								
							
								 
							
						 
						
							
							
								
								RPI: use logging facility instead print()  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5e81f1605 
								
							
								 
							
						 
						
							
							
								
								RPI: misc - don't extract DTU serial from config for every poll  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0df4f38dac 
								
							
								 
							
						 
						
							
							
								
								RPI: remove unused function and import  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a13fc1d92a 
								
							
								 
							
						 
						
							
							
								
								RPI: fix SunsetHandler - use correct (utc) timestamp for comparision  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c52f07889 
								
							
								 
							
						 
						
							
							
								
								RPI: cleanup SunsetHandler  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5beed9d8e0 
								
							
								 
							
						 
						
							
							
								
								RPI: print backtrace for unhandled exception  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed205fba47 
								
							
								 
							
						 
						
							
							
								
								RPI: refactor: move more stuff into main_loop  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94a096b7b6 
								
							
								 
							
						 
						
							
							
								
								fix rare crash related to time shift which might cause negative sleep time  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c843af71d 
								
							
								 
							
						 
						
							
							
								
								rpi: calculate energy_total for whole inverter  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5cd2d70a9b 
								
							
								 
							
						 
						
							
							
								
								RPI: some more changes to properly throw and catch exceptions  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f332738ceb 
								
							
								 
							
						 
						
							
							
								
								RPI: properly catch exception when crc8 check failed  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb6250a109 
								
							
								 
							
						 
						
							
							
								
								RPI: Request alarm when alarm id changes  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de90c19eb3 
								
							
								 
							
						 
						
							
							
								
								RPI: add handling for InverterDevInform_All message, handle  
							
							
 
							
							
							RealTimeRunData_Reality similar to RealTimeRunData_Debug 
							
						 
						3 years ago