gixy31 / esp32-poolmaster Goto Github PK
View Code? Open in Web Editor NEWESP32 version of PoolMaster from Loic74650
ESP32 version of PoolMaster from Loic74650
Hi,
I am trying to compile your code, but I have find several problems:
(Fixed) Can't find pump.h (result downloaded from logic code)
(Fixed) Cannot find ADS1115 @ 1.0.0 from lib_deps (it generates an error that it cannot find the library ... but I have commented and downloaded it working)
Pending solution:
src \ Setup.cpp: 44: 4: error: aggregate 'tm timeinfo' has incomplete type and cannot be defined
tm timeinfo;
^
Compiling .pio \ build \ serial_upload \ lib714 \ Easy Nextion Library \ readCustomCommands.cpp.o
*** [.pio \ build \ serial_upload \ src \ Setup.cpp.o] Error 1
Can you help me?
Sorry to bother again!
Total newbee here!
Got the PCB's they worked a treat.
Struggling to find the correct resistor components to fit, hence the request for BOM?
Would also like to know what level sensors you used for the chlorine and acid solutions?
Thanks again!
V
Sorry to ask for help again
I import the json grafan file but no panels show up in the newly created dashboard.
Do you think I’ve done something wrong?
Any ideas?
Thanks
Bonjour,
J'essai de compiler ESP32-PoolMaster sur un Olimex ESP32-EVB. La compilation échoue avec pluseurs erreurs concernant ADS1115 :
Library Manager: Installing ADS1115 @ 1.0.0
Warning! Could not find the package with 'ADS1115 @ 1.0.0' requirements for your system 'windows_amd64'
Alors plusieurs erreurs sortent du fichier src/Loops.cpp :
src/Loops.cpp:16:8: error: 'ADS1115Scanner' does not name a type; did you mean 'ADS1115'?
src/Loops.cpp:44:3: error: 'adc' was not declared in this scope
src/Loops.cpp:44:16: error: 'ADS1115_SPEED_16SPS' was not declared in this scope
etc ...
Peut-être avez-vous une idée?
Merci,
Jérôme.
Ci-dessous le résultat de la compilation dans le moniteur :
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-evb.html
PLATFORM: Espressif 32 (6.3.2) > OLIMEX ESP32-EVB
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
Environment Status Duration
serial_upload FAILED 00:00:20.688
============================================ 1 failed, 0 succeeded in 00:00:20.688 ============================================
A priori pas la bonne version de ads1115, elle ne veut pas s'installer :
Library Manager: Installing ADS1115 @ 1.0.0
Warning! Could not find the package with 'ADS1115 @ 1.0.0' requirements for your system 'windows_amd64'
j'ai celle ci : https://github.com/jrowberg/i2cdevlib.git
Hi
Very good project my system is up and running, plus or minus. I have an issue potentially where the tank fill volume drops to zero in one movement. I dont understand why?
See attached picture of Grafan. Top panel show where over time ive set the tanks to 100% and randomly they drop to zero %
Hi is it possible to buy hardware somewhere or at least buy pcbs somewhere?
Have you built board and it has been put in work somewhere or is this hypothetical?
Bonjour
Peux tu partager du détails sur les formules de calcul ?
Hi,
is there a little description, which led is for what state? I couldn't find it in the readme files.
Thanks in advance
Kind regards,
Tom
Hi!
Is there any documentation on how to install this software and set it up?
Im new to platformIO but have managed to install it and connect to the ESP32 but then I'm quite lost.
Where do I setup my wifi settings and how do i connect to the board when installed?
Thanks!
A cet endroit là :
ESP32-PoolMaster/src/Loops.cpp
Line 78 in 79e7cb5
Tu ne te sers pas du résultat de la fonction adc.update().
Juste en dessous tu viens lire adc.ready(), qui peut entre temps, avoir terminé, et donc tu peux lire potentiellement des valeurs qui sont fausses.
Je pense que si tu mets adc.update dans ton if, ça corrige éventuellement un bug.
Pour ma part je vais fork et utiliser une librairie plus standard pour ADS, d'autant plus que la seule fonction qui n'y est pas est les valeurs moyennes que tu reimplementes un peu plus loin. Peut être une autre fois je me servirait des signaux ready pour faire du vrai asynchrone avec les interruptions.
Si tu veux tu prendras la pool request.
Hey,
does anyone know a good way to calibrate the pressure sensor?
I'm using this Sensor: https://amzn.eu/d/ekGDIym
It shows -0.9 on the display and doesn't change when the pump is running.
The manual gauge shows around 0.5bar when the pump is running.
Looking at the mqtt values they report as follows
Pump Off: -9.3122074991 PSI
Pump On after 15 min: -8.752225019 PSI
Thanks in advance
If for some reason the wifi cannot reconnect the while statement check continues in an endless loop.
[ 1289 ] [WiFi] Connecting to WiFi...
..E (6107) wifi:Set status to INIT
[ 2951 ] [WiFi] Connection lost
...[ 4479 ] [WiFi] Connection lost
....[ 6479 ] [WiFi] Spurious disconnect event ignored
..........................................................................................................................................................................................................................................
WiFi.reconnect();
while(WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(":");
}
Hello i am currently in the process of recreating this awesome Project for my Pool.
Everything but the probes functions. I get readings of pH 40.4 and ORP of -897mV
I tried running an I2C scanner but it only finds the address 0x38 wich should be the PCF8574A.
The ADS1115 wich should have an address of 0x48 is not found.
I checked all physical connections and checked the voltages of the components even used a new mcu but still no luck.
Does someone have or had a simular problem?
Where can i get my hands on the board
Thanks for putting the project on github and supplying the code and documentation. Would it be possible to also upload the eagle/CAD file as well? I wanted to make a couple slight modifications on the board. Thanks!
Hi
I have recently lost all my original code! I have been trying to get the system back up and running with your latest code.
The nexion screen works and is reporting Realtime data. I can also upload OTA so the WIFI is working.
Problem is no information in being published via MQTT. I have a subscription and monitoring the Topic.
Attached terminal screen, nothing seems to happen after the Subscibe ack. qos:2
Could you assist
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[ 60 ] CPU frequency : 240MHz
[ 61 ] CPU Cores : 2
[ 61 ] Flash size : 4MB
[ 61 ] Free RAM : 282444 bytes
[ 72 ] Min heap : 238072 bytes
[ 72 ] tskIDLE_PRIORITY : 0
[ 72 ] confixMAX_PRIORITIES: 25
[ 72 ] configTICK_RATE_HZ : 1000
[ 1396 ] Stored version: 51
[ 1397 ] Same version: 51 / 51. Loading settings from NVS
[ 1428 ] 51
[ 1428 ] 0, 0, 1, 0
[ 1429 ] 10, 10, 20, 8, 22, 20
[ 1429 ] 2700, 2700, 30000
[ 1429 ] 1800000, 1800000, 0, 0
[ 1429 ] 7.3, 720, 15.0, 15.0, 10, 18, 3.0, 3.496258, -2.011338, -876.430775, 2328.898500, 1.0, 0.0
[ 1440 ] 2700000, 0, 0, 18000, 0, 0, 0, 0, 28.00, 7.30, 720, 1.30
[ 1451 ] 60, 85, 20, 20, 1.5, 1.5
[ 1451 ] Config loaded
[ 1453 ] [WiFi] Connecting to WiFi...
[ 1631 ] [WiFi] Connection lost
[ 1716 ] [WiFi] Connected to: Fisher
[ 1716 ] [WiFi] IP address: 192.168.0.216
[ 1716 ] [WiFi] Hostname: PoolMaster
[ 1716 ] [WiFi] Connecting to MQTT...
[ 1760 ] Connected to MQTT, present session: 0
[ 1772 ] Subscribe ack., qos: 2
[ 2295 ] NTP configured
Sunday, August 14 2022 09:31:03
[ 2296 ] 2022/08/14 09:31:03
[ 2407 ] 1wire W devices: 1 device(s) found
[ 2408 ] 1wire A devices: 1 device(s) found
DS18B20_W: 28:a5:3f:8d:0c:00:00:bd
DS18B20_A: 28:aa:87:87:48:14:01:d5
[ 2530 ] Init done, starting loop tasks
[ 3631 ] [WiFi] Connecting to WiFi...
[ 3638 ] Disconnected from MQTT
[ 3661 ] [WiFi] Connection lost
[ 3802 ] [WiFi] Connected to: Fisher
[ 3803 ] [WiFi] IP address: 192.168.0.216
[ 3803 ] [WiFi] Hostname: PoolMaster
[ 3803 ] [WiFi] Connecting to MQTT...
[ 3840 ] Connected to MQTT, present session: 0
[ 3850 ] Subscribe ack., qos: 2
[ 5662 ] [WiFi] Connecting to WiFi...
[ 5668 ] Disconnected from MQTT
[ 5692 ] [WiFi] Connection lost
[ 5798 ] [WiFi] Connected to: Fisher
[ 5798 ] [WiFi] IP address: 192.168.0.216
[ 5798 ] [WiFi] Hostname: PoolMaster
[ 5798 ] [WiFi] Connecting to MQTT...
[ 5847 ] Connected to MQTT, present session: 0
[ 5855 ] Subscribe ack., qos: 2
[ 7692 ] [WiFi] Connecting to WiFi...
[ 7698 ] Disconnected from MQTT
[ 7722 ] [WiFi] Connection lost
[ 7827 ] [WiFi] Connected to: Fisher
[ 7827 ] [WiFi] IP address: 192.168.0.216
[ 7828 ] [WiFi] Hostname: PoolMaster
[ 7828 ] [WiFi] Connecting to MQTT...
[ 7884 ] Connected to MQTT, present session: 0
[ 7892 ] Subscribe ack., qos: 2
[ 9723 ] [WiFi] Connecting to WiFi...
[ 9729 ] Disconnected from MQTT
[ 9753 ] [WiFi] Connection lost
[ 10059 ] [WiFi] Connected to: Fisher
[ 10060 ] [WiFi] IP address: 192.168.0.216
[ 10060 ] [WiFi] Hostname: PoolMaster
[ 10060 ] [WiFi] Connecting to MQTT...
[ 10111 ] Connected to MQTT, present session: 0
[ 10117 ] Subscribe ack., qos: 2
[ 11753 ] [WiFi] Connecting to WiFi
Hello,
Thanks for your work on this !
While getting the items from the BOM, I've found out that most of the links are not directing me to the correct items.
Would it be possible to update the BOM ?
Thanks !
Hello,
The gerber files exist but, is it possible to have the bom file associated ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.