Skip to content

WIP project to control your home-automation using Domoticz and a CYD (Cheap touchscreen).

Notifications You must be signed in to change notification settings

Smanar/CYD-Domoticz-Remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP project to control your home-automation using Domoticz and a CYD (Cheap touchscreen).

There is a video here https://www.youtube.com/watch?v=1Lc6MlZjePM

Description

To make short I was searching a small wall mounted touchscreen to control my home, with low consumption enought to be powered all the time.
It use Wifi connection to connect direclty to domoticz, to ask information and use the websocket connexion to have real time event, so nothing to add. Just power the device using USB, give the Domoticz IP the wifi password and it's all.
The project is still WIP so somes settings are hard coded on the device, for exemple wich one devices will be displayed on the homepage, but it already work in stand alone mode.



You can found more recents captures on the official topic here https://www.domoticz.com/forum/viewtopic.php?t=41232

Installation

There is different way to install the code on th device, but I think this one is the easier.

For ther moment, need to edit code itself to set defaut devices, the edit box is here, but not possible to edit value.

Settings

The project is still WIP so some settings are still hard coded.

	#-DFORCE_CONFIG # Enable or disable the forced network configuration.
	-DFORCECALIBRATE=true # Reset the calibration at every restart, used to reset it after a config change.
	#-DOLD_DOMOTICZ # If you are using older Domoticz version < 2023.2
	-DBONUSPAGE=0 # Special page to add, similar to Homepage but not updated, from 1 to 3
	#-DFASTCLIC # Enable 1 clic action for some widget
	#-DNO_INFO_PAGE # Disable the Info panel
	-DNO_GROUP_PAGE # Disable the Group/scene panel

Tested devices, working nativley

  • esp32-2432S028R
  • esp32-2432S024C
  • esp32-E32S3RGB43
  • esp32-4848S040
  • esp32-8048S043C
  • esp32-8048S070C

Actuals issues

  • Memory ^^, lot of feature are still in Beta test. For exemple Domoticz JSON are too big to be handled by the device, it cause problem for chart for exemple.
  • The features availables will depend of user devices. The home page will always work, the websocket return too, for the rest IDK. Some JSON are realy impressive, can take some Mega for only 5% of data used, and not possible to reduce them, there is no setting in domoticz. I m using a filtering for some of them, it's possible too using smaller requests to have smaller JSON as return, for exemple this one https://www.domoticz.com/wiki/Domoticz_ ... 2Fswitche but this one don't have data, so it's possible to make a device list, but without information. I will see what to keep or not on usage.

troubleshooting

  • Be sure the device have its IP autorised in the Trusted Networks setting in Domoticz.
  • If you have problem with the Touchpad, you can force a calibration using the parameter -DFORCECALIBRATE=true. Else you will have it only at first launch.