Comments (7)
Yes board profiles are not exclusively tied to BBQKees boards. It's for all common configurations.
from ems-esp32.
Was discussing this with BBQKees today. We decided to call it a Board Profile, which is basically a drop-down list in the Web settings that sets the default values for GPIOs (Rx, Tx, Dallas, Ethernet, LED invert) that match his gateway boards and auto-fill in the settings on the page.
Also a build option -DBOARD_PROFILE= that sets the default values in the firmware so Kees can upload onto the board and it'll work out of the box.
from ems-esp32.
sounds good. Please support also the Wemos MINI D1 ESP32, which works out of the box right now.
from ems-esp32.
Made the first steps in the web. Next is to have EMS-ESP send a list of valid profiles to the Web UI with the GPIO configurations.
from ems-esp32.
Still To Do:
- Modify the console command 'set ethernet ' to 'set board_profile '
- Remove the ethernet profile. This is now determined by the board profile, and no longer configurable
- Detect a -DBOARD_PROFILE and if the filesystem is empty, create based on the profile. This is so pre-configured pin settings can be uploaded in the firmware
- EMS-ESP stores the profiles in the C++ code and sends GPIO pins to the Web on selection (only rx, tx, led, button, dallas)
- create a GPIO validator for the web that excludes some GPIO pins like 1, 6-11, 12, 14 & 15. But allowing 0
- test for valid GPIO in code on startup to prevent crashes
some settings which I'll use for reference:
Wemos MINI D1-32 (rx=23, tx=5, dallas=18, led=2, pbutton=0)
Lolin D32 (rx=17, tx=16, dallas=14, led=5, pbutton=0)
BBQKees Gateway S32 (rx=23, tx=5, dallas=4, led=2, pbutton=0)
BBQKees Gateway E32 (rx=5, tx=17, dallas=4, led=2, pbutton=33, phy_addr=1, power=16, mdc=23, mdio=18, clockmode=0_IN)
Olimex ESP32-EVB-EA (rx=5, tx=17, dallas=4, led=2, pbutton=33, phy_addr=0, power=-1, mdc=23, mdio=18, clockmode=0_IN)
from ems-esp32.
still to add the ethernet and compile build flags.
from ems-esp32.
all done now and ready to test
from ems-esp32.
Related Issues (20)
- Change of Operating mode in thermostat via HomeAssistant not possible since dev.4 HOT 6
- Moduline 400: Missing holiday settings HOT 15
- MQTT discovery of external temperature sensor for HA is missing "stat_cla" attribute. HOT 1
- MQTT changes on uniq_id and obj_id for dhw entities for HA discovery within 3.7 dev version HOT 24
- Error 'invalid template (TemplateSyntaxError: expected token 'end of print statement', HOT 11
- Improvment: Get the current power consumption of Compress 7001 Heatpumps HOT 39
- Feature: Easy enable/disable PV/SG on Heat pumps HOT 1
- Add fan/ventilation speed support for Bosch compress 3800i/IVT Vent 402 HOT 1
- "manual defrost" on heat pump unexpected behaviour HOT 2
- Dump all supported EMS Telegrams HOT 1
- Status …Loading… HOT 6
- No Temp displayed on HMC 310, HC2 Control Mode is not editable HOT 6
- Improvement: Add holiday mode to bosch compress 3800i ew HOT 21
- Remove OTA feature HOT 3
- Feature: Modbus Support HOT 10
- Automation Homeassistant - boiler disinfection HOT 2
- Platform mqtt does not generate unique IDs. For ID boiler_hysteresis_on_temperature and ID boiler_hysteresis_off_temperature HOT 3
- WebUI data missing on Firefox HOT 8
- boiler.nrgtotal with spikes and wrong value after update HOT 1
- Worcester-Bosch Greenstar Summer Mode temp value upper limit too low HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ems-esp32.