Very impressive and usable. I think i create two. One for my garage to control lights and music and the other to control the extractor hood in my kitchen.
Wow really interested in this but I’ll have to wait until they get more stock… Wondering what the best way would be to power this on a wall. Guess it would need some channelling of some wires or something.
Had a play around with mine tonight. I am getting an error that its trying to access the sitemap via http://:/rest/sitemaps/oheztouch/oheztouch?type=json
I tried browsing to that via my browser and it fails. I can however receive JSON by removing the last bit (oheztouch?type=json). Is this based on an older openhab version? I did look in the src code and found where you are creating the url (curren_page) but my modifications just caused a blank screen.
One common issue: make sure the first line in your oheztouch.sitemap is sitemap oheztouch label="something" - the sitemap name has to match the filename.
Please take a look at the openhab logs when you touch your sitemap file and make sure, no error occurs when openhab reloads the file.
I’m on OpenHAB 2.5.11. I haven’t tested OpenHAB 3 yet.
That was it! Thanks! Now I have another problem. My display touch is like flipped and mirrored to the actual screen layout. Not sure what problem that is.
Rexz
—EDIT----
Turns out it just needed the flip set to 1 for ArduiTouchMOD in the platformio.ini.
My new issue which you might have seen is my wifi keep disconnecting and reconnecting on the device. It seems to happen every few minutes. Any idea?
what kind of ArduiTouch do you have?
The ArduiTouchMOD one with SMD parts on it? 2.4" or 2.8" display?
I have an ArduiTouchMOD with 2.8" and multiple ArduiTouch with 2.4". The only difference between them regarding the firmware is the flipped touch input. I have an idea - and maybe I was wrong by distinguishing between MOD and not MOD and the type of display is the source of the flip issue…
Regarding your WiFi problem, check the RSSI level. You can get details about your connection/wifi/etc by touching the status bar on the display.
Thanks for the reply. I have the ArduiTouchMOD with the 2.4" screen. My RSSI is -42 dBm which I think is ok. I am doing some more experimenting as I found another issue with OH3. I was getting an error from openhab stating:
javax.ws.rs.WebApplicationException: HTTP 415 Unsupported Media Type
Other people were having problems using the API with some existing developed tools and their solution was to add a Content-Type of text/plain to the header as an easy fix so I went into the openhab_connector.cpp and added in http.addHeader("Content-Type", "text/plain"); to the item::publish() and Item::update() functions. Seems to be happy now with switches. The next issue I have is as soon as I link an item to a slider the esp32 seems to reset when I go into that menu with the slider in it (exactly like when it auto resets itself every few minutes). I’m wondering if they are linked in someway.
Is there any way to debug the serial via wifi or something? I can’t debug the screen if I disconnect the ESP32 from the arduitouch and connect it to USB.
----------------EDIT---------------------
Ok I didn’t realise connecting solely via USB would power the whole thing… oops. When I enter the menu with a slider I get a panic and the whole thing reboots. This is the error:
thank you very much for the information. I’m very sorry, you have trouble with compatibility issues with OH3 and burned some time.
The reboot are caused by a recovery mechanism, which tries to reconnect if items can not be updated for a while. You can disable it temporarily. Search for “ESP.restart()” in openhab_ui.cpp and comment out that line.
I haven’t tested OhEzTouch with OH3 yet. But I’m installing it on a test machine right now and will try to get everything working this weekend.
Hey Carsten, It’s all good! I’m enjoying getting it working actually! I shall have a look at ESP.restart(). I found out that that restart was created from ‘dumb’ items I had in the sitemap originally so I don’t have that issue anymore. Did you see the crash log from above? That is from the slider in a sub menu… not sure how I will debug that one.
Ok so a little feedback on my crash. It may be down to the item being a dimmer. I noticed in your updated readme you had added in some items and noticed your slider was set to a Number item not dimmer.
Another thing I need to look into the code is to change the step label to a floating number to allow for a decimal place. I did try a couple of things but neither worked.
Another thing I have done is create a python script to add in the build_flag for the git revision. Your !echo would not let me build on windows unfortunately.
Unfortunately this doesn’t fix the crash with dimmer items. I looked through the connector and there doesn’t seem to be any handling of the dimmer item, only:
Hey Rexz,
please double check. Without the patch I can reproduce your issue. With the fix applied, the dimmer items are working fine so far.
I’m going to remove the git hash from the build since it is just for information in the debug output and has no further usage. I don’t want to raise a python dependency only for that on Windows.
Please send me an eMail for in detail discussion about your specific issue with the dimmer item.
I have talked to https://www.az-delivery.de/ and they expect to have devices in stock within the next 2 weeks. Anyways, if you have any device with an ESP32 and a touch display which is suitable for OhEzTouch, please let me know.
Thanks Carsten
Hi, I’m currently playing with OhEzTouch and want to control my squeezebox player with it. I can make basic things working like power, control, volume etc. but my favorite list does not work. When I look at the sitemap in the browser the items are there but not on the OhEzTouch.
Also would it be possible to show the coverart as well?
I ordered the Board (2.8") from Az-Delivery, too, and put one of the Dev Kit C ESP32-Units in.
But the screen stays white. Do I have to modify the PIN Settings somehow in the source?
Or did I screw up the board when soldering?
In case others run into this Problem:
It is not software related, but some connection on the PCB is incorrectly soldered. I tried with another board, which then worked perfectly.
So back to the soldering iron I go and try to fix it.