lumapu
5844795447
Merge branch 'main' into dev
# Conflicts:
# tools/esp8266/app.cpp
# tools/esp8266/hmInverters.h
# tools/esp8266/hmSystem.h
* added missing files
3 years ago
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.
3 years ago
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)
3 years ago
Marcus
20cd77a6c2
Revert "* Divisor HM-400 angepasst (für Wh)"
This reverts commit c65607026c
.
fixed divisor to show Wh
3 years ago
Marcus
aa2c495d2f
Revert "* Divisor HM-400 angepasst (für Wh)"
This reverts commit c65607026c
.
3 years ago
Marcus
a3e5fd93f2
Revert "fixed size"
This reverts commit 11113da53e
.
brachte nicht die Lösung
3 years ago
Marcus
1f6fe84f08
checked in Hubis code (version from 2022-04-13)
https://www.mikrocontroller.net/topic/525778?page=3#7033371
3 years ago
Marcus
11113da53e
fixed size
3 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)
3 years ago
grindylow
26f1179666
Merge pull request #9 from lumapu/main
Fix crashes during boot
3 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
3 years ago
lumapu
169bf8c7c8
* try to avoid exceptions, added yield
* try to fix DNS problems
3 years ago
lumapu
7b0eeb2d4e
Merge branch 'grindylow:main' into main
3 years ago
lumapu
657cbec931
fix issue #10
3 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
3 years ago
lumapu
df9f050313
* added erase application settings
* HM1500 as selectable in setup
* Added new commands to statistic (0x82, 0x83)
3 years ago
lumapu
a00ab4e48d
* fix eep endless loop
3 years ago
grindylow
bf8c162897
Merge pull request #8 from lumapu/main
* Updated to new version
3 years ago
grindylow
80274b1ce3
Merge pull request #7 from dad401/main
Informationen zu Daten HM-400 ergänzt
3 years ago
lumapu
d5c1ac005b
* add cmd82 to list
3 years ago
lumapu
128b16b105
fix
3 years ago
Marcus
4fea27dbf6
all known data values for HM-400 inverter
one day of data log using 'hubis' code
3 years ago
lumapu
f9878b8d8b
* fix missing declarations for HM400
3 years ago
lumapu
deb473743f
* added HM400 defines, not tested yet
* info from Marcus: https://www.mikrocontroller.net/topic/525778?goto=7046088#7046072
3 years ago
lumapu
c25a7a310d
Merge branch 'grindylow:main' into main
3 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
3 years ago
Marcus
e8f4c4999e
* added cmd 82 (HM-400)
* fixed for cmd 01 (HM-400)
3 years ago
Marcus
dfa7975fed
Informationen zu Daten HM-400 ergänzt
3 years ago
lumapu
a95069e65c
* set default pinout to Wemos D1mini
* pinout will be saved in eeprom, but changes not applied for now
3 years ago
lumapu
9e6cae26a7
* increased number of inverters
* name, serial and type can be configured using setup.html
3 years ago
lumapu
97dfbb5936
* communication works again
* reordered HM1200 values (for Serial print)
3 years ago
lumapu
d0731f7065
* new structure
* slim definitions of fields and units
* prepared multi inverter setup (not finished now)
3 years ago
grindylow
d7a7af94cd
Merge pull request #6 from stefan123t/patch-1
Update getting-started-ESP8266.md
3 years ago
lumapu
58d79beb8c
* send values using mqtt
* only send command 0x80 to inverter, all replies 0x01, 0x02, 0x03 and 0x84 are received
3 years ago
lumapu
c00be7bb35
* added mqtt
3 years ago
stefan123t
32fdd213e9
Update getting-started-ESP8266.md
Add basic INSTALL details
3 years ago
Martin Grill
a733721864
added some diagrams from https://www.mikrocontroller.net/topic/525778 forum. Also a rudimentary Getting-Started guide for ESP8266
3 years ago
lumapu
8bfbd8d45b
* added HM1200 decoder
* added HTML to visualize the read values
3 years ago
grindylow
7d24378288
Merge pull request #5 from lumapu/main
updated esp8266
3 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
3 years ago
grindylow
6060c48fbe
Merge pull request #4 from lumapu/main
added ESP8266 code
3 years ago
lumapu
5f927ad8c5
added ESP8266 code
3 years ago
Martin Grill
8030acd283
No delay
3 years ago
Martin Grill
dd085e4a69
Merge branch 'main' of github.com:grindylow/ahoy
3 years ago
Martin Grill
f1ed0e486c
More sensible order in main loop: rx, then tx. More consistent output (no more duplicates: JSON only)
3 years ago
Jan-Jonas Sämann
0309dcb41a
Update ahoy.py split and relocate code
Split on_receive from actual device specific decoder.
Rename decoder to hm600 because thats my dut.
Alters debug prints, remove json dump from console, makes it more readable.
Move Tx before Rx in main loop, change timing
3 years ago
Jan-Jonas Sämann
fe4719bada
Update ahoy.py add 0x80 subtype argument
Add a subtype parameter for mesage composer, allowing for dynamic
request more registers
3 years ago
grindylow
4edd8867a4
Merge pull request #2 from tbnobody/dev
Added possibility to connect to MqTT Broker with username and password
3 years ago
Thomas Basler
cfc7ff3d2c
Added possibility to connect to MqTT Broker with username and password
3 years ago
Martin Grill
79192bbede
Merged local changes. JSON payloads now contain all known information.
3 years ago