Marcus
							
						 
						
							
							
							
								
							
								c0140f9fc1 
								
							
								 
							
						 
						
							
							
								
								Neue Version von Hubi vom 28.04.2022 - siehe:  
							
							 
							
							 
							
							
								
 
							
							
							https://www.mikrocontroller.net/topic/525778?page=4#7048605 
ersetzt NRF24_SendRcv
Kommentare dazu:
- Projekt jetzt umgenannt in HoyDtuSim (Hoymiles DTU Simulation)
-Läuft auf Arduino (bei mir auf Pro Mini) und ESP (Wemos D1 mini), je
nachdem wie man kompiliert
- Channel hopping für senden und Empfangen (poor man's ...) ist
eingebaut und bringt konstante Antworten; obige Erkenntnisse über Kanäle
abwärts sind noch nicht eingebaut
- da manchmal ein Abbruch der RF-Verbindung vorkam (auch schon oben
erwähnt)  wird jetzt nach ca 50 Sekunden ohne Empfang das RF-Modul neu
initialisiert und es geht problemlos weiter
- Definitionen für HM-600 und HM-1200 sind implementiert, andere können
anhand der beiden Beispiele sicher leicht impl. werden
- Anpassungen sind in der Settings.h zu machen 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								20cd77a6c2 
								
							
								 
							
						 
						
							
							
								
								Revert "* Divisor HM-400 angepasst (für Wh)"  
							
							 
							
							 
							
							
								
 
							
							
							This reverts commit c65607026c .
fixed divisor to show Wh 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								aa2c495d2f 
								
							
								 
							
						 
						
							
							
								
								Revert "* Divisor HM-400 angepasst (für Wh)"  
							
							 
							
							 
							
							
								
 
							
							
							This reverts commit c65607026c . 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								a3e5fd93f2 
								
							
								 
							
						 
						
							
							
								
								Revert "fixed size"  
							
							 
							
							 
							
							
								
 
							
							
							This reverts commit 11113da53e .
brachte nicht die Lösung 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								1f6fe84f08 
								
							
								 
							
						 
						
							
							
								
								checked in Hubis code (version from 2022-04-13)  
							
							 
							
							 
							
							
								
 
							
							
							https://www.mikrocontroller.net/topic/525778?page=3#7033371  
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								11113da53e 
								
							
								 
							
						 
						
							
							
								
								fixed size  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Marcus
							
						 
						
							
							
							
								
							
								c65607026c 
								
							
								 
							
						 
						
							
							
								
								* Divisor HM-400 angepasst (für Wh)  
							
							 
							
							 
							
							
								
 
							
							
							* Ausgabebuffer angepasst, war mit 10 Bytes zu wenig um z.B. YieldTotal auszugeben (Unit wurde abgeschnitten) 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								a9b7fd0599 
								
							
								 
							
						 
						
							
							
								
								* added IP address to serial console on successful connect to station WiFi  
							
							 
							
							 
							
							
								
 
							
							
							* fix: RF24 power setting configuration
* added RF24 isChipConnected
* added MQTT port configuration
* fix offsets for HM400 and HM600 inverters
* added warning if configuration was changed without reboot 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								169bf8c7c8 
								
							
								 
							
						 
						
							
							
								
								* try to avoid exceptions, added yield  
							
							 
							
							 
							
							
								
 
							
							
							* try to fix DNS problems 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								657cbec931 
								
							
								 
							
						 
						
							
							
								
								fix issue  #10  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								04d31200cb 
								
							
								 
							
						 
						
							
							
								
								* NRF24 amlifierer power level can be configured in web setup  
							
							 
							
							 
							
							
								
 
							
							
							* fixed MQTT status (was inverted)
* fixed interval uint from seconds to ms 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								df9f050313 
								
							
								 
							
						 
						
							
							
								
								* added erase application settings  
							
							 
							
							 
							
							
								
 
							
							
							* HM1500 as selectable in setup
* Added new commands to statistic (0x82, 0x83) 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								a00ab4e48d 
								
							
								 
							
						 
						
							
							
								
								* fix eep endless loop  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								d5c1ac005b 
								
							
								 
							
						 
						
							
							
								
								* add cmd82 to list  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								128b16b105 
								
							
								 
							
						 
						
							
							
								
								fix  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								f9878b8d8b 
								
							
								 
							
						 
						
							
							
								
								* fix missing declarations for HM400  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								deb473743f 
								
							
								 
							
						 
						
							
							
								
								* added HM400 defines, not tested yet  
							
							 
							
							 
							
							
								
 
							
							
							* info from Marcus: https://www.mikrocontroller.net/topic/525778?goto=7046088#7046072  
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								d195eee498 
								
							
								 
							
						 
						
							
							
								
								* pinout can be saved using the web setup  
							
							 
							
							 
							
							
								
 
							
							
							* html / css files are now located inside PROGMEM
* conversion of files is done with python script (OS independent, open source)
* moved as much as possible for now to the hm* modules - the app should only be the body
* successfully tested with HM1200 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								a95069e65c 
								
							
								 
							
						 
						
							
							
								
								* set default pinout to Wemos D1mini  
							
							 
							
							 
							
							
								
 
							
							
							* pinout will be saved in eeprom, but changes not applied for now 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								9e6cae26a7 
								
							
								 
							
						 
						
							
							
								
								* increased number of inverters  
							
							 
							
							 
							
							
								
 
							
							
							* name, serial and type can be configured using setup.html 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								97dfbb5936 
								
							
								 
							
						 
						
							
							
								
								* communication works again  
							
							 
							
							 
							
							
								
 
							
							
							* reordered HM1200 values (for Serial print) 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								d0731f7065 
								
							
								 
							
						 
						
							
							
								
								* new structure  
							
							 
							
							 
							
							
								
 
							
							
							* slim definitions of fields and units
* prepared multi inverter setup (not finished now) 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								58d79beb8c 
								
							
								 
							
						 
						
							
							
								
								* send values using mqtt  
							
							 
							
							 
							
							
								
 
							
							
							* only send command 0x80 to inverter, all replies 0x01, 0x02, 0x03 and 0x84 are received 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								c00be7bb35 
								
							
								 
							
						 
						
							
							
								
								* added mqtt  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								8bfbd8d45b 
								
							
								 
							
						 
						
							
							
								
								* added HM1200 decoder  
							
							 
							
							 
							
							
								
 
							
							
							* added HTML to visualize the read values 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								a7add69719 
								
							
								 
							
						 
						
							
							
								
								* renamed .ino (must be identical to parent folder name)  
							
							 
							
							 
							
							
								
 
							
							
							* build CRC over settings, only if the CRC matches settings are applied
* send command 0x80 (set time was wrong)
* improved crc16 routine
* added statistics for received commands and send statistics (channels are not correct for now!)
* receive of commands 0x01, 0x02, 0x03, 0x81 and 0x84 working 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								lumapu
							
						 
						
							
							
							
								
							
								5f927ad8c5 
								
							
								 
							
						 
						
							
							
								
								added ESP8266 code  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								8030acd283 
								
							
								 
							
						 
						
							
							
								
								No delay  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								f1ed0e486c 
								
							
								 
							
						 
						
							
							
								
								More sensible order in main loop: rx, then tx. More consistent output (no more duplicates: JSON only)  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Thomas Basler
							
						 
						
							
							
							
								
							
								cfc7ff3d2c 
								
							
								 
							
						 
						
							
							
								
								Added possibility to connect to MqTT Broker with username and password  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								abd0629072 
								
							
								 
							
						 
						
							
							
								
								Include raw data and some more metadata in .json  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								030af13c96 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py channel hopping and logging  
							
							 
							
							 
							
							
								
 
							
							
							* Improve channel hopping
   by rotating rx start channel for each transaction
 * Set autoack True
   gives nearly 100% transmission success rate
 * Cleanup unused lines 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								5c7168b984 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py decode cmd 131, 132  
							
							 
							
							 
							
							
								
 
							
							
							* cmd=131 seem to appear on HM-600
 * cmd=132 seem to appear in HM-1200 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								ec18712583 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py decode cmd 129 as error response  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								86715ac116 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py implement poor channel hopping  
							
							 
							
							 
							
							
								
 
							
							
							This will catch alot more packes 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								1425d46b7e 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py add timestamps  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								d83b9e1a8d 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py alter mqtt topics  
							
							 
							
							 
							
							
								
 
							
							
							Refine mqtt topic's to be more usable. Make message layout kind of compatible
with shelly EM's. 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								0fdce24a51 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py make dtu and inverter serial configurable  
							
							 
							
							 
							
							
								
 
							
							
							Adds config file support for dtu and inverter serial numbers to keep them
outside this repo 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								51afd1298d 
								
							
								 
							
						 
						
							
							
								
								Update python requirements add crcmod  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Jan-Jonas Sämann
							
						 
						
							
							
							
								
							
								141d53ff9c 
								
							
								 
							
						 
						
							
							
								
								Update ahoy.py decode cmd=131  
							
							 
							
							 
							
							
								
 
							
							
							CMD 131 seem to contain temperatures 
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								3562f1eac6 
								
							
								 
							
						 
						
							
							
								
								Now outputs received acdata and dcdata to MQTT. No error handling yet.  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								3ba0d0f3b1 
								
							
								 
							
						 
						
							
							
								
								fixed minor formatting issues  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								686d4b6a22 
								
							
								 
							
						 
						
							
							
								
								Initial documentation for ahoy.py  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								270cb4aaae 
								
							
								 
							
						 
						
							
							
								
								added example log  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								5eed17b8c1 
								
							
								 
							
						 
						
							
							
								
								minor formatting improvements  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								8ec61d40db 
								
							
								 
							
						 
						
							
							
								
								Can now interpret contents of cmds 1 and 2  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								a19a392448 
								
							
								 
							
						 
						
							
							
								
								Success! This version manages to elicit the occasional response from my inverter!  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								ddb7a97a87 
								
							
								 
							
						 
						
							
							
								
								fixed dynamic payload retrieval  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								62286fb3b1 
								
							
								 
							
						 
						
							
							
								
								Serial numbers similar to of22's for initial testing.  
							
							 
							
							
								
 
							
							
						 
						4 years ago  
					 
				
					
						
							
							
								 
								Martin Grill
							
						 
						
							
							
							
								
							
								48b7b50cab 
								
							
								 
							
						 
						
							
							
								
								First attempt at querying an inverter using Python. Not yet functional.  
							
							 
							
							
								
 
							
							
						 
						4 years ago