Commit graph

20 commits

Author SHA1 Message Date
lumapu
c8a05efadc Merge branch 'main' into dev
# Conflicts:
#	tools/esp8266/defines.h
#	tools/esp8266/hmSystem.h
2022-04-29 20:49:50 +02:00
Andreas Erhard
edcf69aa01 * added display name to inverter view 2022-04-29 08:41:22 +02:00
lumapu
b3bdf2811e * fix: random crashes #15
-> don't use delay() on ESP while Wifi connection is established!?
2022-04-28 19:40:51 +02:00
lumapu
5844795447 Merge branch 'main' into dev
# Conflicts:
#	tools/esp8266/app.cpp
#	tools/esp8266/hmInverters.h
#	tools/esp8266/hmSystem.h

* added missing files
2022-04-27 23:27:52 +02:00
lumapu
5c63503168 * fixed #13, Inverter Type changed after reboot
* fixed #11, WiFi password length limit increased to 63, check 802.11i spec:
> A pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters. The limit of 63 comes from the desire to distinguish between a pass-phrase and a PSK displayed as 64 hexadecimal characters.
2022-04-27 23:10:22 +02:00
lumapu
f6b75aff90 * preliminary state, compiles good not tested on hardware
* converted struct inverter_t to class Inverter
* started with calculation functions (idea from Hubi/mikrocontroller.net)
2022-04-27 23:03:37 +02:00
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
2022-04-26 22:49:00 +02:00
lumapu
169bf8c7c8 * try to avoid exceptions, added yield
* try to fix DNS problems
2022-04-26 08:50:36 +02:00
lumapu
04d31200cb * NRF24 amlifierer power level can be configured in web setup
* fixed MQTT status (was inverted)
* fixed interval uint from seconds to ms
2022-04-25 23:28:59 +02:00
lumapu
df9f050313 * added erase application settings
* HM1500 as selectable in setup
* Added new commands to statistic (0x82, 0x83)
2022-04-25 22:44:12 +02:00
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
2022-04-25 17:48:12 +02:00
lumapu
a95069e65c * set default pinout to Wemos D1mini
* pinout will be saved in eeprom, but changes not applied for now
2022-04-24 23:10:58 +02:00
lumapu
9e6cae26a7 * increased number of inverters
* name, serial and type can be configured using setup.html
2022-04-24 20:53:56 +02:00
lumapu
97dfbb5936 * communication works again
* reordered HM1200 values (for Serial print)
2022-04-24 11:45:56 +02:00
lumapu
d0731f7065 * new structure
* slim definitions of fields and units
* prepared multi inverter setup (not finished now)
2022-04-24 01:00:06 +02:00
lumapu
58d79beb8c * send values using mqtt
* only send command 0x80 to inverter, all replies 0x01, 0x02, 0x03 and 0x84 are received
2022-04-22 20:16:29 +02:00
lumapu
c00be7bb35 * added mqtt 2022-04-22 07:53:26 +02:00
lumapu
8bfbd8d45b * added HM1200 decoder
* added HTML to visualize the read values
2022-04-20 20:51:18 +02:00
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
2022-04-20 08:58:23 +02:00
lumapu
5f927ad8c5 added ESP8266 code 2022-04-17 01:54:48 +02:00