Commit graph

1375 commits

Author SHA1 Message Date
lumapu
169bf8c7c8 * try to avoid exceptions, added yield
* try to fix DNS problems
2022-04-26 08:50:36 +02:00
lumapu
7b0eeb2d4e
Merge branch 'grindylow:main' into main 2022-04-25 23:32:15 +02:00
lumapu
657cbec931 fix issue #10 2022-04-25 23:31:52 +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
a00ab4e48d * fix eep endless loop 2022-04-25 21:40:35 +02:00
grindylow
bf8c162897
Merge pull request #8 from lumapu/main
* Updated to new version
2022-04-25 21:00:33 +02:00
grindylow
80274b1ce3
Merge pull request #7 from dad401/main
Informationen zu Daten HM-400 ergänzt
2022-04-25 20:59:57 +02:00
lumapu
d5c1ac005b * add cmd82 to list 2022-04-25 20:40:59 +02:00
lumapu
128b16b105 fix 2022-04-25 20:04:12 +02:00
Marcus
4fea27dbf6 all known data values for HM-400 inverter
one day of data log using 'hubis' code
2022-04-25 20:03:43 +02:00
lumapu
f9878b8d8b * fix missing declarations for HM400 2022-04-25 19:59:59 +02:00
lumapu
deb473743f * added HM400 defines, not tested yet
* info from Marcus: https://www.mikrocontroller.net/topic/525778?goto=7046088#7046072
2022-04-25 19:48:39 +02:00
lumapu
c25a7a310d
Merge branch 'grindylow:main' into main 2022-04-25 17:52:05 +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
Marcus
e8f4c4999e * added cmd 82 (HM-400)
* fixed for cmd 01 (HM-400)
2022-04-25 17:36:28 +02:00
Marcus
dfa7975fed Informationen zu Daten HM-400 ergänzt 2022-04-25 12:50:04 +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
grindylow
d7a7af94cd
Merge pull request #6 from stefan123t/patch-1
Update getting-started-ESP8266.md
2022-04-22 20:40:59 +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
stefan123t
32fdd213e9
Update getting-started-ESP8266.md
Add basic INSTALL details
2022-04-22 07:36:29 +02:00
Martin Grill
a733721864 added some diagrams from https://www.mikrocontroller.net/topic/525778 forum. Also a rudimentary Getting-Started guide for ESP8266 2022-04-20 21:18:26 +02:00
lumapu
8bfbd8d45b * added HM1200 decoder
* added HTML to visualize the read values
2022-04-20 20:51:18 +02:00
grindylow
7d24378288
Merge pull request #5 from lumapu/main
updated esp8266
2022-04-20 20:05:51 +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
grindylow
6060c48fbe
Merge pull request #4 from lumapu/main
added ESP8266 code
2022-04-18 21:30:55 +02:00
lumapu
5f927ad8c5 added ESP8266 code 2022-04-17 01:54:48 +02:00
Martin Grill
8030acd283 No delay 2022-04-16 11:13:23 +02:00
Martin Grill
dd085e4a69 Merge branch 'main' of github.com:grindylow/ahoy 2022-04-16 11:10:03 +02:00
Martin Grill
f1ed0e486c More sensible order in main loop: rx, then tx. More consistent output (no more duplicates: JSON only) 2022-04-16 11:09:41 +02:00
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
2022-04-10 11:56:52 +02:00
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
2022-04-10 11:14:40 +02:00
grindylow
4edd8867a4
Merge pull request #2 from tbnobody/dev
Added possibility to connect to MqTT Broker with username and password
2022-04-06 20:22:39 +02:00
Thomas Basler
cfc7ff3d2c Added possibility to connect to MqTT Broker with username and password 2022-04-06 19:07:09 +01:00
Martin Grill
79192bbede Merged local changes. JSON payloads now contain all known information. 2022-04-06 19:20:02 +02:00
Martin Grill
abd0629072 Include raw data and some more metadata in .json 2022-04-06 18:30:17 +02:00
grindylow
ad0acb7477
Merge pull request #1 from Sprinterfreak/dev
Update python ahoy script
2022-04-06 18:19:41 +02:00
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
2022-04-06 12:02:01 +02:00
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
2022-04-06 12:00:10 +02:00
Jan-Jonas Sämann
ec18712583 Update ahoy.py decode cmd 129 as error response 2022-04-06 11:57:56 +02:00
Jan-Jonas Sämann
86715ac116 Update ahoy.py implement poor channel hopping
This will catch alot more packes
2022-04-05 14:49:57 +02:00
Jan-Jonas Sämann
1425d46b7e Update ahoy.py add timestamps 2022-04-04 23:42:02 +02:00
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.
2022-04-04 23:40:57 +02:00
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
2022-04-04 23:36:13 +02:00
Jan-Jonas Sämann
51afd1298d Update python requirements add crcmod 2022-04-04 23:31:22 +02:00
Jan-Jonas Sämann
141d53ff9c Update ahoy.py decode cmd=131
CMD 131 seem to contain temperatures
2022-04-04 23:18:34 +02:00