openHASP: An MQTT driven Touchscreen / Scene controller

Good day. Once again thank you for this component.
Is it possible to build the bin using esphome?

I’m thinking of bluetooth Bridge convenience with these plates available through the house.

In a word, no.

1 Like

thank you for the prompt reply

In theory… we could back port the Bluetooth proxy code into OpenHASP… what do your think @fvanroie ?

It all depends on who we is… :slight_smile:

Another question might be, can we port openHASP as ESPhome module?

1 Like

I could share some cycles during Xmas holidays…

I just wonder if current OpenHASP is resource angry or not to spare cycles for bluetooth scanning.

About ESPhome module… not sure about it’s purpose…

Memory will be the biggest hurdle. From what I understand BLE is quite heavy too.
Also there has been talk that sharing the radio between BLE and WiFi is not the best idea.

This discussion might be better suited to share thoughts.

Hi, all
I have flashed the OpenHASP to FreeTouchDeck and loaded the sample configurion. I can change the text via pages.jsonl but none of the sensors info appear on the plate. I have confirmed correct sensor in configuration.yaml but on the plate it shows only 00.0 and not the sensor readings. I confirmed that temperature sensor return correct value in developer tools ==> template.
Please point me into the direction as to what am I doing wrong.

Have you installed the openHASP custom component through HACS? The custom component is needed for the integration to work.

Yes, everything was installed. I reset plate to factory settings, gave it a different name and all is good now. HA discovered it and now I can play with it.
Is there a doc that describes jsonl code options for the pages.jsonl file?
Is there a graphical tool that allows to develop GUI for the plate?

Here Pages - openHASP and following pages.

Got it, thanks

Also, if you click on the sample images here openHASP it goes to a page with sample code in both jsonl and the configuration.yaml.

Can someone give me an example how to use MQTT to send command to plate
my pages.jsnol

{“page”:0,“id”:6,“obj”:“label”,“x”:3,“y”:5,“h”:30,“w”:62,“text”:“00:00”,“align”:0,“bg_color”:"#2C3E50"}
{“page”:3,“id”:3,“obj”:“btn”,“action”:“power”,“x”:130,“y”:90,“w”:50,“h”:40,“bg_color”:"#2C3E50",“text”:"\uE425",“text_color”:"#FFFFFF",“radius”:0,“border_side”:0,“text_font”:24}

I try something like hasp/plate/command/p0b6

To change one parameter of one object:

  • hasp/plate/command/p0b6.text with payload: new value
  • hasp/plate/command/p3b3.w with payload: 123

To change multiple parameter of one object:

  • hasp/plate/command/p0b6.jsonl with payload: {"w":62,"text":"00:00"}
  • hasp/plate/command/p3b3.jsonl with payload: {"x":130,"y":90,"w":50,"h":40}
1 Like

Hello,
I am working on integrating WT32-SC01 display into home assistant. I designed a plate and it’s successfully deteced by HA. Communication via MQTT (via Mosquito broker) also works just fine.

Now, I’m trying to connect a buzzer (i.e. to make sound when alarm system enters pending mode). First, I set up a GPIO settings with an output pin, Power Relay mode.
Unfortunately, this does not show up in HA. I went through openHASP documentation but according to set up instructions, all GPIO devices should simply be discovered by HA as additional entities. So, I’m not sure how to even debug the issue.
Do you have any ideas?

Please set the GPIO configuration before adding the plate to HA for them to be detected as entities.

1 Like

I thought it will be discovered automatically without re-discovering entire plate.
Thank you @fvanroie! Now it works.

I just got the wt32-sc01 and started getting my feet wet.
What is best practice for iterating when designing pages? This far, I have only tried the file upload in the web interface. I also found someone who uploaded via a curl command.
I have not gotten the Home Assitant hosting of pages.jsnol working. I get an invalid path message when I try to provide a path.

What I usually do is:

  • Edit the pages.jsonl file in the File Editor directly.
  • Save the changes to the flash of the device by typing Ctrl+S on a PC or Cmd+S on Mac.
  • Next you hit Reload Pages to apply these changes iteratively.
  • Only if you removed objects or changed the object type: Click Clear Pages first to remove all previous objects, then hit Reload Pages.

DrZzs recently did a openHASP - DIY Touch Screen Smart Switch video which also demonstrates the process:

2 Likes