openHASP: An MQTT driven Touchscreen / Scene controller

Maybe because it is not yet in 0.6.1 :slight_smile:
Weā€™re still working on thisā€¦

1 Like

Thank you.

Work in progress.

Lovelace:
image

openHASP synced:
image

5 Likes

Lanbon L8 - received, flashed, config updated (GPIO), pages updated, connected to HA and working great. how noticed after about 2 hrs that the device goes unavailable and needs a power off and back on to work again.
iā€™ve re-flashed with the bin 0.61 from the github page twice more and re-setup but same thing. ideas? faulty hardware?

Can you login to the plate using telnet (port 23)? Do you see weird output?

Some users have reported crosstalk on the RX serial pin, which can cause strange behavior and lock-ups. In that case changing Debug Setting > Serial Port to Disabled can help. Just
remember to reboot after changing the setting.

iā€™ll try this tonight and report back.

this doesnt look right :confused:

No posting a screenshot of text does not look right.

@fvanroie I think itā€™s worth considering starting by default with the serial service turned off (at least for Lanbons)ā€¦

Thanks for the info, it confirms what others are seeing. I thought the registered input was random, but apparently not so. It resembles a scrambled version of the serial outputā€¦

I need to look into this issue, but I havenā€™t been able to reproduce it on my Lanbons.

1 Like

well happy to test anything if you would like me to.
Cherers

That really looks good.

I am interested in how you connected the Sonoff Touch to the wt32-sc01?

The sonoff 3 gang T1 (US) I have follows the usual pattern of a power board plus a low voltage board connected by a header. In this case 8 pins. I assume you replaced the low voltage board with the wt32.

Have you got info on the pinout of the 8 pin header, and how you connected the two together?

Yes remove the board just use the base. Do you have a volt meter, the top 4 pins are the ground and 5v 2 of each. the pins below them control the relays 1 pin per relay. Im at work ill take a pic when i get home

1 Like

Thanks, how you did the physical pin connections would be helpful. Cheers.

When you say ā€œtopā€ it depends which way up it is I guess :slight_smile:

I now have the wt32-sc01 powered with the T1 base, and have identified three pins that when you short to 5v they click the relays. The fourth one beeps - not sure if that is what is supposed to happen or not.

Hello,

I have OpenHASP working on my WT32-SC01. Works great, one of the best software projects ever !! I was able to build a RGB ledstrip controller for HA within 10 minutes or so.
The same manufacturer also has a round display rotary knob. It looks like it has about the same specs as the WT32-SC01 (same display driver and ESP32 module). The screen resolution is 480x480.

Had anyone tried this hardware already?

More info on: Rotary knob with display on Alibaba

Gr. Remco

2 Likes

I havenā€™t seen these devices in the wild yet. Last time I checked they were not yet available for saleā€¦ We need to know the specs to be sure, but I could work if itā€™s indeed ESP based. Notable difference is the ESP32-S2 chip and I think there is no touchscreen.

Hi! Could you share the code?

Iā€™m also trying to use a slider for my coversā€¦but I canā€™t configure it properlyā€¦
HASP CODE:

{"page":2,"id":7,"obj":"slider","x":10,"y":103,"w":220,"h":15,"min":0,"max":100,"val":85}

And my config.yaml

- obj: "p2b7" # volume slider
        event:
          "changed":
            - service: cover.set_cover_position
              data:
                position: "{{ val }}"
              target:
                entity_id: cover.persiana_dormitorio

From what I saw, when the sonoff pins arwe toward the top left, out of the pairs, bottom 2 are 5v, 2 above that are ground, 2 above that are relays, the top right is a relay, and the top left controls the small buzzer or speaker in the unit. I am going to try to test further tonight to see which pin goes to which relay.

Bugger I have just put mine back together and in the box, so I canā€™t look again, but that accords with my notes.

I didnā€™t test which pin does which relay as I didnā€™t have a 240v test load to try it.