Commit graph

44 commits

Author SHA1 Message Date
lumapu
31ff0300d7 added missing file 2022-08-28 22:42:43 +02:00
lumapu
13c88b3626 * created new API functions
* bound html through ajax to parse setup page (not finished now)
* added compression option for static html to python module
* removed generated h-file from index (redundant information), they will be created on compile time
2022-08-27 02:27:32 +02:00
lumapu
2556197509 Merge branch 'development02' into asyncWeb02 2022-08-26 21:59:27 +02:00
lumapu
ae968d618a * added option for no powerlimit (setup)
* moved function showLiveData to web.cpp
* improved debug messages
* cleaned some code
2022-08-26 16:34:10 +02:00
lumapu
03b9af216d /setup geht noch nicht 2022-08-25 09:44:50 +02:00
Andreas Schiffler
51fbe7868c added command queue
+ command queue
+ feedback from inverter for actual power limit via InfoCmd -> SystemConfigPara (0x05)
+ REST API will enqueue a new info command
+ change in power limit will enqueue infocm to get actual power limit
+ actual power limit is available under mqtt topic <TOPIC>/<NAME>/ch0/PowerLimit ALWAYS in percent
+ Firmware information will be requested automatically up on start of dtu
2022-08-20 13:34:31 +02:00
lumapu
9ca1792480 fixed setup layout for mobile devices 2022-08-19 16:13:14 +02:00
Andreas Schiffler
458639b648 button on index to get FW-Version 2022-08-17 11:30:18 +02:00
Andreas Schiffler
ac79828eb5 0.5.13 Bug fixes and minor updates
- Solves Issue 156, 158, 159
- Uncheck "Reboot after save" by default, It is only madatory if an inverter is added or changed (name,address)
- Add "*" to denote mandatory fields in setup
- Remove "MQTT Interval read only" in setup
- Correct typos in Markdown files
2022-08-16 15:19:45 +02:00
Andreas Schiffler
6ac3876092 Major Updates active power limit
See the User_Manual.md for more information about the functionality of the active power limit.
2022-08-15 20:56:54 +02:00
lumapu
74f053a5ae * webinterface refactored completely 2022-08-14 02:18:53 +02:00
lumapu
2f88fea229 fix #146
v0.5.8
2022-08-12 11:17:04 +02:00
lumapu
aca98b6911 * style update (margins)
* automatically convert html files to header file during build
2022-08-11 23:01:44 +02:00
lumapu
ec08f58a46 * fix setup html (recent version crashed)
maybe the issue was regarding the flower brackets
2022-08-11 22:10:40 +02:00
lumapu
75e7eb8bb2 * html Update (was not converted) 2022-08-11 21:55:55 +02:00
lumapu
155f9e3f41 * new NRF24 lib (1.4.2 -> 1.4.5)
* add build info on index.html (like OpenDTU)
* add Discord Link to index.html
2022-08-08 22:06:33 +02:00
stefan123t
848e263e7f add #114 ntp_server_name and port in setup 2022-08-07 01:16:57 +02:00
lumapu
21624cb517 * fix index.html to load inverter info immediately
* changed timestamp to 1 for stand alone ESP, #90
2022-07-07 20:53:01 +02:00
lumapu
4a28884cff * improved setup (if no data is in EEprom)
* improved NRF24 Pinout regarding to #36, Standard Pinout should be now: https://github.com/grindylow/ahoy/issues/36#issuecomment-1149981052
2022-06-26 13:26:44 +02:00
lumapu
c61d9568ba license included
tried to increase stability
2022-06-16 23:56:29 +02:00
lumapu
f148c41a1f ESP8266 v0.4.16
* request only one inverter per loop (https://github.com/grindylow/ahoy/issues/53#issuecomment-1147042489)
* mqtt loop interval calculated by # of inverters and inverter request interval
* limit maximum number of retries
* added feature request #62 (readable names for channels)
* improved setup page, added javascript to hide / show channel fields

** IMORTANT: memory layout change, all configuration will be lost, except WiFI **
2022-06-09 23:03:38 +02:00
Stefan Thieme
df2f052c85 load stats on index page initially 2022-06-06 08:31:56 +02:00
Stefan Thieme
9e5105a98b use mSendInterval for showIndex and index.html 2022-06-01 23:46:38 +02:00
lumapu
7844ea2946 * moved mqtt loop out of checkTicker as mentioned in #49
* added irritation and efficiency calculations (** EPPROM CHANGE - YOUR SETTINGS MAYBE BECOME CURRUPT! **)
* improved style
2022-05-23 11:35:56 +02:00
lumapu
8238e90903 * fix #38 current assignment for 4-channel inverters
* added last received timestamp in /hoymiles livedata web page #47
* improved style.css
* improved NTP as described in #46
2022-05-19 16:52:21 +02:00
lumapu
a35cb414a8 * fixed #41 HM800 Yield total and Yield day were mixed around. Found issue while comparing to Python version
* fixed #43 HM350 channel 2 is displayed in Live-View
* added #42 YieldTotal and YieldTotal Day for HM600 - HM800 inverters
2022-05-17 21:47:41 +02:00
lumapu
37206847c5 * added rx channel switching
* switched to crc8 check for valid packet-payload
2022-05-09 20:47:05 +02:00
lumapu
8f444cee2f * improved tickers, only one ticker is active
* added feature to use the ESP as access point for all the time
* added serial features to setup
2022-05-04 19:28:54 +02:00
lumapu
4c3852cde4 * fixed erase settings
* fixed behavior if no MQTT IP is set (the system was nearly unusable because of delayed responses)
* fixed Station / AP WiFi on startup -> more information will be printed to the serial console
* added new ticker for serial value dump
2022-05-03 23:29:33 +02:00
lumapu
539d4f73c1 * added config.h for general configuration
* added option to compile WiFi SSID + PWD to firmware
* added option to configure WiFi access point name and password
* added feature to retry connect to station WiFi (configurable timeouts)
* updated index.html
* added option for factory reset
* added info about project on index.html
* moved "update" and "home" to footer
* fixed #23 HM1200 yield day unit
* fixed DNS name of ESP after setup (some commits before)
2022-05-03 21:03:03 +02:00
docBmuc
59b6addccf Fix in live view, larger boxes in CSS, SPI-Speed define
Fixed missing HM800 in liveView

Larger boxes in CSS

Introduced SPI speed define for reduced speed (1MHz) for increased stability
2022-05-02 19:06:10 +02:00
lumapu
2abd388726 * converted to "poor-man-ticker" using millis() for uptime, send and mqtt
* added inverter overview
* added send count to statistics
2022-05-01 20:48:10 +02:00
Andreas Erhard
edcf69aa01 * added display name to inverter view 2022-04-29 08:41:22 +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
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
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
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