openHASP: An MQTT driven Touchscreen / Scene controller

Hello everyone. Developers and contributors of this project, thank you for all your hard work. This is a really good add on to my HA devices collection. I am not a programmer and just start learning how to work with this devices. For now I want to change fan icon when it’s on to fan looks like it’s running like a light on my screenshot. Can someone tell me what icon and how I can use. for Fan off I use code uE210. Thank you
fan on
fan off
light on
light off

The built in fonts only have these icons Fonts - openHASP

However in the next section Fonts - openHASP you’ll see how to use other fonts, you’ll have to find one that has what you want.

Thank you very much for your response.

One more question:
How I can upload a picture? Can someone explain to me like you would explain to the 5 year old kid :grinning:

This is the Icon which I want.


but if I will understand how to upload a picture, I will use pictures for my pages
TY

There is a mdi ttf font around on the internet. You could use that.

1 Like

DrZzs explained uploading both fonts and images in a recent live-stream, which explains it quite clearly:

You can download materialdesignicons-webfont.ttf and rename it to mdi.ttf. Then upload it to the device to use any MDI icon.

1 Like

Thank you
I will watch this video and try to install this font
:+1::+1::+1::+1::+1:

Hi, Juan.
Can you please share Plate 24 code for OpenHASP pages and HA .yaml file. Looks great
Thank you

FYI, I’ve just upgraded the openHASP Custom Component to 0.7.0 and now all of my switches are working, even the moodlight on my L8-HS! Woohoo. None working before.

image

I do however get this error and can’t find 0.7.0 of the firmware.

image

3 Likes

Good day.
This is the json file

{"page":1,"id":1,"obj":"btn","x":0,"y":0,"w":240,"h":30,"text":"TOILET","value_font":22,"bg_color":"#2C3E50","text_color":"#FFFFFF","radius":0,"border_side":0}

{"page":1,"id":2,"obj":"btn","groupid":"1","x":10,"y":85,"w":220,"h":75,"toggle":true,"text":"\uE769 Toilet","text_font":32,"align":1}
{"page":1,"id":3,"obj":"btn","groupid":"2","x":10,"y":170,"w":220,"h":75,"toggle":true,"text":"\uE210 Fan","text_font":32,"align":1}

{"page":0,"id":1,"obj":"btn","action":"prev","x":0,"y":290,"w":79,"h":32,"bg_color":"#2C3E50","text":"\uE141","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":28}
{"page":0,"id":2,"obj":"btn","action":"back","x":80,"y":290,"w":80,"h":32,"bg_color":"#2C3E50","text":"\uE2DC","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":22}
{"page":0,"id":3,"obj":"btn","action":"next","x":161,"y":290,"w":79,"h":32,"bg_color":"#2C3E50","text":"\uE142","text_color":"#FFFFFF","radius":0,"border_side":0,"text_font":28}
{"page":0,"id":4,"obj":"label","x":175,"y":5,"h":30,"w":62,"text":"00.0°C","align":2,"bg_color":"#2C3E50","text_color":"#FFFFFF"}
{"page":0,"id":5,"obj":"label","x":3,"y":5,"h":30,"w":62,"text":"00:00","align":0,"bg_color":"#2C3E50","text_color":"#FFFFFF"}

This is the yaml file

plate24:
  objects:
    - obj: "p0b4"
      properties:
        "text": "{{state_attr('climate.guest','current_temperature')}}°C"
    - obj: "p0b5"
      properties:
        "text": "{{ states('sensor.time') }}"   
2 Likes

Both the 0.7.0 custom component and the firmware are still in development.
You can get the latest development version at https://nightly.openhasp.com

More examples and layouts can be found in our Show & Tell discussion thread on Github.

1 Like

Thanks. I’d been there but hadn’t spotted the links at the bottom. Testing now.

i just get WT32-SC01 PLUS from aliexpress
connected serial and programmed it with FW on openhasp
https://www.openhasp.com/0.6.3/devices/wireless-tag/
but my esp32-s3 seamse that have 8Mb flash and neiher 4 or
16mb fw don’t power display on, I tried to install VScode and
platformio, but when i tried to compile own 8MB ver. it make
few lib. errors which are a bit over my current knowledge.
Is there some 8mb already done FW to download ?

For S3 support you need 0.7.0 of the firmware and custom component.
v0.7.0-rc1 for WT32-SC01 Plus is available at https://nightly.openhasp.com/

Good day everyone. I made a mistake when I change WIFI settings on my panel and now my OpenHASP Panel is offline. Is it any backdoor solution for this issue? TY

You can connect to the serial console and type:

ssid yourNetworkName
pass yourWifiPassword
reboot

Thank you for your response
Can you please explain a little bit more in detail how I can do this. I read this on the site but don’t know how.
TY

I did it. Using Putty . Thank you again.

1 Like

hJust got the Lanbon L8

FLASH IT

help getting this

WIFI: Disconnected from MYLE (Reason: no AP found [201])

[       3.003][86004/97096 11][redacted][58060/58144  1][redacted] WIFI: No Connection... retry 0[redacted]
Prompt > [       5.106][86004/96508 10][58060/58144  1] WIFI: Disconnected from MYLE (Reason: no AP found [201])
Prompt > [       8.008][86004/96872 11][redacted][58060/58144  1][redacted] WIFI: No Connection... retry 2[redacted]