Giter Site home page Giter Site logo

domochip / wirelesspalacontrol Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 9.0 3.44 MB

D1Mini to replace Palazzetti, Jotul, TurboFonte, Godin stove ConnectionBox

Python 2.95% C++ 71.37% C 0.86% HTML 21.33% CSS 2.83% JavaScript 0.66%
fonteflamme godin jotul mqtt palazzetti turbofonte

wirelesspalacontrol's People

Contributors

domochip avatar flobul avatar sven337 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wirelesspalacontrol's Issues

Wifi suggestion

Hi.

I have 3 mesh wi-fi routers.
When I select the SSID, I can't figure out which is the nearest router.
Capture d’écran 2022-02-26 à 15 36 29
Show BSSID or signal strength ?

[Question] Set date/time

I would like to set date/time automatically using my home assistant. Is it possible to set stove date and time using MQTT/HTTP commands ?

Platformio compilation error

Hello !
Just downloaded the repo, and in VScode, on Mac and Linux, I got this :

> Executing task: platformio run --environment d1_mini <

Processing d1_mini (framework: arduino; board: d1_mini; platform: espressif8266)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option

warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=False to SConscript calls.
Missing SConscript 'src\base\data\prepare_webfiles.py'
File "/Users/carmelo/.platformio/penv/lib/python3.9/site-packages/platformio/builder/main.py", line 186, in <module>
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (3.2.0) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 @ 3.30002.0 (3.0.2) 
 - tool-esptool @ 1.413.0 (4.13) 
 - tool-esptoolpy @ 1.30000.201119 (3.0.0) 
 - toolchain-xtensa @ 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 41 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ESPAsyncTCP @ 1.2.2
|-- ESP Async WebServer @ 1.2.3
|   |-- ESPAsyncTCP @ 1.2.2
|   |-- Hash @ 1.0
|   |-- ESP8266WiFi @ 1.0
|   |-- ArduinoJson @ 6.19.4
|-- ESPAsyncUDP @ 0.0.0-alpha+sha.697c75a025
|-- ArduinoJson @ 6.19.4
|-- PubSubClient @ 2.8.0
|-- Palazzetti @ 2.1.0+sha.dc144fd
|-- EEPROM @ 1.0
|-- ESP8266WiFi @ 1.0
|-- LittleFS @ 0.1.0
|-- Ticker @ 1.0
Building in release mode
Compiling .pio/build/d1_mini/src/WirelessPalaControl.cpp.o
Compiling .pio/build/d1_mini/src/base/Application.cpp.o
Compiling .pio/build/d1_mini/src/base/Core.cpp.o
Compiling .pio/build/d1_mini/src/base/MQTTMan.cpp.o
Compiling .pio/build/d1_mini/src/base/Main.cpp.o
Compiling .pio/build/d1_mini/src/base/Utils.cpp.o
Compiling .pio/build/d1_mini/src/base/WifiMan.cpp.o
Generating LD script .pio/build/d1_mini/ld/local.eagle.app.v6.common.ld
In file included from src/base/WifiMan.cpp:1:
src/base/WifiMan.h:4:10: fatal error: ..\Main.h: No such file or directory

*****************************************************************
* Looking for ..\Main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:..\Main.h"
* Web  > https://registry.platformio.org/search?q=header:..%5CMain.h
*
*****************************************************************

    4 | #include "..\Main.h"
      |          ^~~~~~~~~~~
In file included from src/base/MQTTMan.cpp:1:
src/base/MQTTMan.h:4:10: fatal error: ..\Main.h: No such file or directory

*****************************************************************
* Looking for ..\Main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:..\Main.h"
* Web  > https://registry.platformio.org/search?q=header:..%5CMain.h
*
*****************************************************************

    4 | #include "..\Main.h"
      |          ^~~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from src/base/Application.cpp:1:
src/base/Application.h:4:10: fatal error: ..\Main.h: No such file or directory

*****************************************************************
* Looking for ..\Main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:..\Main.h"
* Web  > https://registry.platformio.org/search?q=header:..%5CMain.h
*
*****************************************************************

    4 | #include "..\Main.h"
      |          ^~~~~~~~~~~
In file included from src/base/Core.cpp:1:
src/base/Core.h:4:10: fatal error: ..\Main.h: No such file or directory

*****************************************************************
* Looking for ..\Main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:..\Main.h"
* Web  > https://registry.platformio.org/search?q=header:..%5CMain.h
*
*****************************************************************

    4 | #include "..\Main.h"
      |          ^~~~~~~~~~~
compilation terminated.
compilation terminated.
*** [.pio/build/d1_mini/src/base/WifiMan.cpp.o] Error 1
*** [.pio/build/d1_mini/src/base/Core.cpp.o] Error 1
*** [.pio/build/d1_mini/src/base/Application.cpp.o] Error 1
*** [.pio/build/d1_mini/src/base/MQTTMan.cpp.o] Error 1
In file included from src/WirelessPalaControl.cpp:1:
src/WirelessPalaControl.h:5:10: fatal error: base\Utils.h: No such file or directory

********************************************************************
* Looking for base\Utils.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:base\Utils.h"
* Web  > https://registry.platformio.org/search?q=header:base%5CUtils.h
*
********************************************************************

    5 | #include "base\Utils.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/d1_mini/src/WirelessPalaControl.cpp.o] Error 1
src/base/Main.cpp:12:10: fatal error: ..\Main.h: No such file or directory

*****************************************************************
* Looking for ..\Main.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:..\Main.h"
* Web  > https://registry.platformio.org/search?q=header:..%5CMain.h
*
*****************************************************************

   12 | #include "..\Main.h"
      |          ^~~~~~~~~~~
compilation terminated.
*** [.pio/build/d1_mini/src/base/Main.cpp.o] Error 1
===================================================================== [FAILED] Took 1.96 seconds =====================================================================
The terminal process "platformio 'run', '--environment', 'd1_mini'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

I know I can use the released file, but I like to understand why it fail ;)

PCB Control Palazetti D1

Bonjour,

Je me permet de vous écrire car je suis de très près votre projet qui permet de remplacer le connection box de palazetti, il y a 5 ans que j'ai mon poele et celui ci est compliqué pour madame... J'avais pour idée de faire comme vous mais mes maigres compétence en codage et electronique m'ont vite limités.
Votre projet me remotive donc à domotiser ce poele.
Si il vous reste des PCB je veux bien vous en acheter un ou deux.
Cordialement
Et merci pour ce formidable travail

Status feedback slower than in earlier versions?

I have not bisected this but, I seem to recall that when I sent CMD +ON to start the stove, I would get immediate status feedback over MQTT.
This was with the firmware in a device you shipped me recently, which I upgraded to 2.1.1/3.0.0.

Now, it seems I have to wait for the next publishTick.
Is this a known consequence of the refactoring?

I would very much appreciate to see the status reflected as soon as it changes, and I think it used to work like that.
Thanks

Wifi backup?

Sometimes, I reboot my wi-fi router and the Wpalacontrol does not reconnect to my router, it creates its own AP, and never try to reconnect. So I have to reset it manually. I notice only when I try to launch manually... So maybe a few days later.

Maybe adding a second SSID network (fallback)? I the first is unreachable, try the other one?
Or maybe a watchbog: if in AP because SSID network was unreachable, retry in 5 minutes?

Hardware ?

Hello, do you still have some PCB and box left ? i'm very interested 👍

Add F3L and F4L setting

Just tried the 2.1.5/3.1.2v2 pre-release :

image

It works great :)

I can change the main fan setting (F3L) but there are 2 settings missing : left and right fans (F3L and F4L) :

image

Set silent mode returns a timeout error

Hi.

When SET+SLNT+1 command is sent, the room fan stops, but the cmd returns a timeout issue.
When SET+SLNT+0 command is sent, nothing happens (is it supposed to recover last fan value ?)

Mac@Flobul % curl "http://192.168.XXX.XXX/cgi-bin/sendmsg.lua?cmd=SET+SLNT+0"
{"INFO":{"CMD":"SET SLNT","RSP":"OK"},"DATA":{"SLNT":0,"PWR":1,"F2L":0,"F2LF":0},"SUCCESS":true}%    

Mac@Flobul % curl "http://192.168.XXX.XXX/cgi-bin/sendmsg.lua?cmd=SET+SLNT+1"
{"INFO":{"CMD":"SET SLNT 1","RSP":"TIMEOUT","MSG":"Stove communication failed"},"DATA":{"NODATA":true},"SUCCESS":false}%   

MQTT fail after power outage

Hi,
Thank you for this great work! Sorry for my English.
I am reporting a bug that occurs after a power outage. The MQTT connection is lost, and 4 out of 6 chips on the same network fail to reconnect. The other 2 chips reconnect successfully. The failing chips require a manual restart to function again.
I have 5 of them connected to the OpenHab MQTT broker. Three of them fail after a power outage, and 1 connected to Home Assistant fails too.
The problem started after upgrading the firmware to 2.1.4. Before that, I was using version 1.4.1, and it worked well.
Thanks again for your work.
Sincerely,
Axel
I hope this is helpful!

MQTT and Domoticz

Bonjour,

J'ai un soucis pour raccordé la box sur Domoticz, en effet, ce dernier fonctionne avec un système d'IDX,
Pour associé les infos MQTT à mon device virtuel dans domoticz, il faut que le paramétré "IDX" soit intégré à la requête MQTT.

Tasmota ou espEasy offre la possibilité de déclaré l'IDX, serait-ce possible d'ajouter la cela aux paramètre MQTT ?

Merci par avance.

Not working on ESP01

I tried to flash and run on another esp8266 variant, the esp01.
Unfortunately it flashes well, but won't run.
I get the rst error 4, boot mode 3.7.

Would be nice to be able to use this firmware on the different esp8266 variants. This could also involve the possibility to set rx/tx gpio in the ui.

SET+PWR+2 sent instead of SET+POWR+2

Hello,

From HA, when is use the slider to set fire power to 2, the command sent is SET+PWR+2 instead of SET+POWR+2 so it doesn't change the value:

image

If I send the correct command through HTTP it's ok:

// 20240211090505
// http://192.168.0.239/cgi-bin/sendmsg.lua?cmd=SET+POWR+2

{
  "INFO": {
    "CMD": "SET POWR",
    "RSP": "OK"
  },
  "DATA": {
    "PWR": 2,
    "F2L": 2,
    "FANLMINMAX": [
      0,
      5,
      0,
      5,
      0,
      5
    ]
  },
  "SUCCESS": true
}

Get log

Hello !
This is not an issue with the PalaControl, but is it possible to check the log ?
I have my third fan (Right fan) which is regullarly been set to 0. And I don't know why.

I would like to check the PalaControl logs to see if I can find the origin of the change

Stove infos

Hi, I have received my controller with 1.4.1 system running.
I have configured it on my network and plug RJ11 on my Palazzetti Monica.
But now, stove info still empty, why? Forgot something?
Thank you

esphome / Home assistant

Hello, would it be possible to adapt this project on an ESPhome module and implement it to Home Assistant?

D1 Mini communication

Hi,
After flashing the ESP8266, everything worked properly, I was able to run PalaControl. But at the moment I attach the ESP to the PCB, nothing happens, I'm unable to start the web ui.
It seems that it's the TX pin that is the source of the problem, do you have an idea of why it's not working ?

Palazzetti Margot

Hi,
I have a Palazzetti Margot stove.
I would like to control it using HomeAssistant.
Is it your adapter compatible with this stove?
I see there is a serial port available on the back. Is it possible to use it to connect the device?
Thanks

Any chance update code for ESP32 ?

Hi.

Sorry to bother, but is there any chance you update this repo for another hardware plateform? (espressif32 instead of espressif8266)
Or maybe a way to use the lib with another system (tasmota, espeasy...)

CMD+ON while stove is burning: expected behavior?

Hello,
this is probably not a bug, but I've noticed that if I start the stove with CMD+ON, then send another CMD+ON while it's in status "Fueling", it moves to "TestFire" status and stops feeding pellets, then stops burning and goes in "Cool" status.
Is that expected? Have you noticed that on yours?

Add another rj11 connector on the board

Just received the board, and now awaiting the last pieces, to be able to install.

I do not know if this is a valid suggestion, but here we go:

If you add another RJ11 connector on the next revision of the board, bridged with the existing one, the we could save one cable and the external rj11 splitter. It would also make your board, baught on Tindie, a drop in component, without the need to buy extra stuff elsewhere.
It woul be nice to just put this board in between the existing connection on the stove controller.

Which SI8621 chip?

Hello everyone,
I'm looking for the right SI8621 chip for the Palacontrol. At LCSC I have different ordering part numbers and different output states. Actually, I'm thinking of three different chips: Si8621BB-B-IS, Si8621BC-B-IS, Si8621EC-B-IS. First both have LOW output state, the third one HIGH output state. Does it have any effect for the palacontrol?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.