rejoe2
5b3d0593fe
some more MI specific things
- might decode data and enqueue correct next command
- small fixes wrt. to serial readibility
2 years ago
rejoe2
0e7874935d
Add files via upload
2 years ago
lumapu
bf772756ed
improved set limit and radio statistics
communication with HMS / HMT is fine - for HM it tries to receive on the same channel which does not work for 4-ch inverter
2 years ago
lumapu
5b39d38d86
included dev-control again
2 years ago
lumapu
b34e5a7416
added millis to each packet for radio analysis
fixed several issue regarding communication
2 years ago
lumapu
c7f3f21469
further improved new communication model
2 years ago
lumapu
5a81a54738
started to improve communication (from scratch)
2 years ago
lumapu
3e9d6b8900
0.7.66 - 2023-10-04
* prepared PA-Level for CMT
* removed settings for number of retransmits, its fixed to `5` now
* added parentheses to have a excactly defined behaviour
2 years ago
lumapu
ebb79d1d09
0.7.63
* fix NRF24 communication #1200
2 years ago
lumapu
169eea73e6
0.7.62
fix compile (prometheus)
2 years ago
lumapu
41ade24538
0.7.62
* add timeout before payload is tried to process (necessary for HMS/HMT)
2 years ago
lumapu
dae638f7c6
0.7.62
* fix communication to inverters #1198
2 years ago
rejoe2
9b6c7728d2
MI controll command review II
now with changes, but still base .61 is not working for HM/MI Types
2 years ago
lumapu
c1cb62685d
0.7.61
2 years ago
lumapu
86822eb7b8
further improvements to generic functions
2 years ago
lumapu
01f113cd2b
moved some generic functions to parent radio class
2 years ago
lumapu
097dd3c39c
fix web
2 years ago
lumapu
ac0a4976d8
moved radio-statistic to inverter (not global per radio module any more)
2 years ago
lumapu
124cbf6ba2
bug fix esp8266
2 years ago
lumapu
ded734fa8b
fix some errors
2 years ago
lumapu
a695356313
removed / replaced hmsPayload completely
2 years ago
lumapu
dcd5d5a72b
set radio pointer to inverter
2 years ago
lumapu
9b22b1017a
improved hmSystem
2 years ago
lumapu
1d28387d1d
add radio interface radio.h
2 years ago
lumapu
d8feaf02ac
changed to generic packet_t
2 years ago
lumapu
09896fbe6b
first comparison, compiles fine
2 years ago
lumapu
44399bd483
added more paranthesis
2 years ago
Peter H. Demus
7561044e23
correct parentheses now to understand the logic and avoid warning
add to alarm list :
if laststatus was not 3
if laststatus was 3 and currentstatus is 3
add?
currentStatusMi = mPayload[iv->id].sts[stschan];
WiP
In file included from app.h:21,
from app.cpp:8:
hm/miPayload.h: In instantiation of 'void MiPayload<HMSYSTEM, HMRADIO>::miStsConsolidate(Inverter<>*, uint8_t, record_t<>*, uint8_t, uint8_t, uint8_t, uint8_t) [with HMSYSTEM = HmSystem<4>; HMRADIO = HmRadio<>; uint8_t = unsigned char]':
hm/miPayload.h:451:13: required from 'void MiPayload<HMSYSTEM, HMRADIO>::miStsDecode(Inverter<>*, packet_t*, uint8_t) [with HMSYSTEM = HmSystem<4>; HMRADIO = HmRadio<>; uint8_t = unsigned char]'
hm/miPayload.h:175:17: required from 'void MiPayload<HMSYSTEM, HMRADIO>::add(Inverter<>*, packet_t*) [with HMSYSTEM = HmSystem<4>; HMRADIO = HmRadio<>]'
app.cpp:143:41: required from here
hm/miPayload.h:481:99: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
481 | || mPayload[iv->id].sts[stschan] && statusMi == 3 && mPayload[iv->id].sts[stschan] != 3)
Signed-off-by: Peter H. Demus <peter@demus.de>
2 years ago
lumapu
3a29d6c258
0.7.59
small fix by rejoe2 #1170
2 years ago
rejoe2
a9dc7a1be5
fix typos
2 years ago
rejoe2
06553d10ba
fix typos
2 years ago
rejoe2
afa96506a3
MI - alarms and control and other
* reduce last_success MQTT messages (#1124 )
* add re-request if inverter is known to be online and first try fails
* add alarm reporting to MI (might need review!)
* rebuild MI limiting code closer to DTUSimMI example
2 years ago
Alexander Dahl
821ab96402
hm: Re-add Hardware Number 10104000 for HM-400
This was probably removed by accident? Resulted in no Max. Power shown
for this device in live view.
References: #1111
Fixes: 201098ae0b
("0.7.45 * change ePaper text to symbols PR #1131 * added some invertes to dev info list #1111")
Signed-off-by: Alexander Dahl <post@lespocky.de>
2 years ago
lumapu
ff63f5236d
0.7.57
* fix Alarms are always in queue (since 0.7.56)
* fix display active power control to long for small devices #1165
2 years ago
lumapu
cefcc9c8c3
0.7.56
* only request alarms which were not received before #1113
* added flag if alarm was requested but not received and re-request it #1105
2 years ago
lumapu
9a09b5f4f8
0.7.54
* added active power control in `W` to live view #201 , #673
* updated docu, active power control related #706
* added current AC-Power to `index` page and removed version #763
* improved statistic data, moved to entire struct
* removed `/api/statistics` endpoint from REST-API
2 years ago
lumapu
64fafa1d36
0.7.49
moved convertHtml.py to script directory
2 years ago
lumapu
fa62a18e94
0.7.49
* merge mi code restructuring PR #1145
2 years ago
Wusaweki
f1bff0b824
refactor display class
Display class gets access to App interface and HmRadio
Display class prepares relevant online information for displays in new DisplayData structure
Displays get pointer to DisplayData and only use information received from there
2 years ago
lumapu
67d3e824af
0.7.46
* HW Versions for MI series PR #1133
2 years ago
lumapu
69e2a63eab
0.7.46
* send loop skip disabled inverters fix
* print generated DTU SN to console
2 years ago
lumapu
f3192b49ab
0.7.46
* removed `delay` from ePaper
* started improvements of `/system`
* fix LEDs to check all configured inverters
2 years ago
rejoe2
b0590b6ea7
MI models - cleanup
delete unintented duplicates
2 years ago
rejoe2
63a74eb02b
Typo in miPayload.h
2 years ago
rejoe2
c0bb7403f3
MI - add model codes
thx to beegee3 in https://github.com/lumapu/ahoy/issues/1111#issuecomment-1698100571
Only MI-600 (0x001311) is tested!
2 years ago
lumapu
201098ae0b
0.7.45
* change ePaper text to symbols PR #1131
* added some invertes to dev info list #1111
2 years ago
lumapu
3600a2e28c
0.7.43
* improved RSSI for NRF24, now it's read per package (and inverter) #1129
* arranged `heap` related info together in `/system`
* fix display navi during save
* clean up binary output, separated to folders
2 years ago
lumapu
1253960177
small improvements - code review
2 years ago
DanielR92
e41f7a1c4b
some lines removed. (the removed one was for HMS/HMT)
2 years ago
DanielR92
55868e1090
Update some lines, remove dbg
2 years ago