Commit graph

2543 commits

Author SHA1 Message Date
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
Martin Grill
3eb3ada916 some updates, still kind of rough 2022-04-01 20:32:10 +02:00
Martin Grill
34e96c83c6 Updates to README and Format Description 2022-04-01 18:28:37 +02:00
Martin Grill
f41386d326 Merge branch 'main' of github.com:grindylow/ahoy 2022-04-01 16:39:17 +02:00
Martin Grill
3562f1eac6 Now outputs received acdata and dcdata to MQTT. No error handling yet. 2022-04-01 16:39:00 +02:00
grindylow
92797d22a1
Update README.md 2022-03-28 20:55:19 +02:00
grindylow
bf8808cea0
Add files via upload
We have a logo!
2022-03-28 20:51:53 +02:00
Martin Grill
3ba0d0f3b1 fixed minor formatting issues 2022-03-28 20:33:28 +02:00
Martin Grill
686d4b6a22 Initial documentation for ahoy.py 2022-03-28 20:27:47 +02:00
Martin Grill
270cb4aaae added example log 2022-03-28 20:24:51 +02:00
Martin Grill
5eed17b8c1 minor formatting improvements 2022-03-28 18:57:47 +02:00
Martin Grill
8ec61d40db Can now interpret contents of cmds 1 and 2 2022-03-28 18:46:54 +02:00
Martin Grill
a19a392448 Success! This version manages to elicit the occasional response from my inverter! 2022-03-28 11:20:29 +02:00
Martin Grill
ddb7a97a87 fixed dynamic payload retrieval 2022-03-28 09:46:42 +02:00
Martin Grill
c28741cae2 Merge branch 'main' of github.com:grindylow/ahoy into main 2022-03-27 22:51:47 +02:00
Martin Grill
c01a4aa3c9 additional addressing example 2022-03-27 22:51:37 +02:00
Martin Grill
62286fb3b1 Serial numbers similar to of22's for initial testing. 2022-03-27 21:52:41 +02:00
Martin Grill
92d34bb02d Merge branch 'main' of github.com:grindylow/ahoy 2022-03-27 20:45:14 +02:00
Martin Grill
48b7b50cab First attempt at querying an inverter using Python. Not yet functional. 2022-03-27 20:45:04 +02:00
grindylow
82ce2c9d88
Update README.md 2022-03-27 18:27:20 +02:00
Martin Grill
a7e73f6ae8 Added current version of format description. Added 'first contact' code example by of22. 2022-03-27 18:17:52 +02:00
Martin Grill
59aa635ebe working discovery tool 2022-03-20 09:19:48 +01:00
Martin Grill
d8ce70fd53 a working pretender 2022-03-20 09:12:22 +01:00
Martin Grill
122e4567b1 switched to dynamic payload mode, added a pretender 2022-03-19 15:04:21 +01:00
Martin Grill
c0abc8daae initial skeleton for discovery tool 2022-03-18 22:17:44 +01:00
grindylow
317876b183
Initial commit 2022-03-18 17:24:51 +01:00