Git Product home page Git Product logo

oh-ez-touch's Issues

Compilation error 'PB_Chunk' was not declared in this scope

Installation fails in Ubuntu 20.04 LTS and OSX (testet with Port py3.9-pip) both with the following error

...
In file included from .pio/libdeps/ArduiTouch28/AutoConnect/src/AutoConnect.h:35:0,
                 from src/ac_settings.hpp:4,
                 from src/ac_main.cpp:2:
.pio/libdeps/ArduiTouch28/AutoConnect/src/AutoConnectAux.h: In constructor 'AutoConnectAux::AutoConnectAux(const String&, const String&, bool, AutoConnectElementVT)':
.pio/libdeps/ArduiTouch28/AutoConnect/src/AutoConnectAux.h:51:11: error: 'PB_Chunk' was not declared in this scope
     chunk(PB_Chunk), _title(title), _menu(menu), _uriStr(String(uri)), _addonElm(addons), _handler(nullptr), _order(AC_EXIT_AHEAD), _uploadHandler(nullptr) { _uri = _uriStr.c_str(); }
           ^
Compiling .pio/build/ArduiTouch28/src/driver/beeper_control.cpp.o
In file included from src/ac_settings.hpp:4:0,
                 from src/ac_main.cpp:2:
.pio/libdeps/ArduiTouch28/AutoConnect/src/AutoConnect.h: At global scope:
.pio/libdeps/ArduiTouch28/AutoConnect/src/AutoConnect.h:389:11: error: 'TransferEncoding_t' does not name a type
     const TransferEncoding_t transMode;
           ^
*** [.pio/build/ArduiTouch28/src/ac_main.cpp.o] Error 1
============================================================= [FAILED] Took 6.54 seconds =============================================================

Environment    Status    Duration
-------------  --------  ------------
debug          FAILED    00:00:46.077
ArduiTouch     FAILED    00:00:06.548
ArduiTouch28   FAILED    00:00:06.540
======================================================= 3 failed, 0 succeeded in 00:00:59.165 =======================================================

Steps to reproduce in Ubuntu 20.04 LTS

sudo apt install python3-pip
sudo pip install -U platformio
git clone https://github.com/c5n/oh-ez-touch.git
cd oh-ez-touch/
pio run

Screen Rotation possible?

Hello!

Is it possible to implement screen rotation, so the device can be mounted horizontally?
I fiddled around with the screeb parameters, but could not get it to work.

Compatible with AZ-Touch MOD?

Hello!

Great Project, thank you!
Did you by any chance test it out on one of the new AZ-Touch MOD-Packages? I am trying with a ESP Dev-Kit C V4, but the screen stays white (web GUI is reachable, though).

Bye, Frido.

Idea about display preferences

Saw there are some preferences could only be set via webinterface.

An idea: If the sitemap contains a "predefined" area with predefined items, they could used to change those values via openhab?

like

Text label="EZ-Touch-Name_Settings" {
Switch item="EZ-Touch-Name_DayligtSaving"
Default item="EZ-Touch-Name_LCDtimeout"
Default item="EZ-Touch-Name_LCDnormalBrightness"
Default item="EZ-Touch-Name_LCDdimBrightness"
Switch item="EZ-Touch-Name_Beeper
}

So if the Display founds the label of its name added with "_Settings" it could read the predefined Items and then use it for configuration.

The EZ-Touch-Name is just to be able to set different Settings if using more than one display.

compile errors

Hello,

My cpp is not really the best! I get the following errors when I compile this application.
Can someone point me in the right direction to fix this issue?

It seems the problem is that SPIFFS.h is currently deprecated and may be removed in future releases of the core so i can't find a solution to fit it.

Greets

Andy

Compiling .pio/build/debug/libf7d/PageBuilder/PageBuilder.cpp.o
In file included from .pio/libdeps/debug/PageBuilder/src/PageBuilder.cpp:12:
.pio/libdeps/debug/PageBuilder/src/PageBuilder.h:88:10: fatal error: SPIFFS.h: No such file or directory

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

 #include <SPIFFS.h>
          ^~~~~~~~~~
compilation terminated.
Compiling .pio/build/debug/lib11c/AutoConnect/AutoConnect.cpp.o
Compiling .pio/build/debug/lib11c/AutoConnect/AutoConnectAux.cpp.o
*** [.pio/build/debug/libf7d/PageBuilder/PageBuilder.cpp.o] Error 1
In file included from .pio/libdeps/debug/AutoConnect/src/AutoConnect.h:30,
                 from .pio/libdeps/debug/AutoConnect/src/AutoConnect.cpp:10:
.pio/libdeps/debug/PageBuilder/src/PageBuilder.h:88:10: fatal error: SPIFFS.h: No such file or directory

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

 #include <SPIFFS.h>
          ^~~~~~~~~~
compilation terminated.
*** [.pio/build/debug/lib11c/AutoConnect/AutoConnect.cpp.o] Error 1
In file included from .pio/libdeps/debug/AutoConnect/src/AutoConnect.h:30,
                 from .pio/libdeps/debug/AutoConnect/src/AutoConnectAux.cpp:10:
.pio/libdeps/debug/PageBuilder/src/PageBuilder.h:88:10: fatal error: SPIFFS.h: No such file or directory

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

 #include <SPIFFS.h>
          ^~~~~~~~~~
compilation terminated.
*** [.pio/build/debug/lib11c/AutoConnect/AutoConnectAux.cpp.o] Error 1

And :

In file included from .pio/libdeps/ArduiTouch/PageBuilder/src/PageBuilder.cpp:12:
.pio/libdeps/ArduiTouch/PageBuilder/src/PageBuilder.h:88:10: fatal error: SPIFFS.h: No such file or directory

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

 #include <SPIFFS.h>
          ^~~~~~~~~~
compilation terminated.
Archiving .pio/build/ArduiTouch/libda1/libEEPROM.a
Indexing .pio/build/ArduiTouch/libda1/libEEPROM.a
*** [.pio/build/ArduiTouch/liba31/PageBuilder/PageBuilder.cpp.o] Error 1

and :

In file included from .pio/libdeps/ArduiTouch28/PageBuilder/src/PageBuilder.cpp:12:
.pio/libdeps/ArduiTouch28/PageBuilder/src/PageBuilder.h:88:10: fatal error: SPIFFS.h: No such file or directory

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

 #include <SPIFFS.h>
          ^~~~~~~~~~
compilation terminated.
Archiving .pio/build/ArduiTouch28/libda1/libEEPROM.a
Indexing .pio/build/ArduiTouch28/libda1/libEEPROM.a
Compiling .pio/build/ArduiTouch28/libf2c/Preferences/Preferences.cpp.o
*** [.pio/build/ArduiTouch28/libddd/PageBuilder/PageBuilder.cpp.o] Error 1

feature request: support for rollershutter items

Hi,

first of all: it' a brilliant piece of software. I really appreciate your work.

Here is a additional feature idea that could be helpful for a lot of enthusiasts.
You could support rollershutter items in a way it is done in the web gui.
The switch item shows for rollershutter items down, stop and up icons and additionally
a percentage value (see attached picture)

rollershutter item

In the meantime the slider element can be used.

best, Ypo

Idea about icon-size issue (saw on information page)

Hello,

just ordered the hardware and next days will test your software.

While reading your issue with the icons: I allready have some ESPs for other stuff running.
They use the micro-SD slot for additional stuff and files. Maybe a specified folder in an micro-SDcard is been checked for icon.png first before loading from Server could be possible?

Also reading a first used item and transform it locally to save in smaller format in a way of using the sdcard as cache could be possible.

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.