HA SwitchPlate HASPone: DIY In-Wall Touchscreen Home Assistant Controller

Yes I had to cut out inner parts of the frame to fit LCD. For the sides I’m using 7.5 mm parts of blanking plate.

hello @luma been around year and four months plates are working like magic using, one thing which is still going against me in my case is power cycle some times it happens few times a day and i want them plates to wait 1 minute and 30 seconds to connect to known wifi, so as when power cycles my wifi also need a minute or so to boot up.

and i am not very skilled at arduino sketch let alone json so it will be great help if you can point me to which part should i change in sketch so it waits 1min 30 seconds after power start to connect to known wifi before it goes into 5 min AP mode

TIA

Edit :
attaching pictures of my custom Clip on Plate hardware for hidden screws fits into Indian 2gang standard back box & the custom made UI with home button like layout

BACK FITTING FRAME

Main Home Page

Curtain Page

Dimmer Control

Scenes Page

Light Toggles

3 Likes

Hello all

it is posibel to use this display instad of nexion display?

Short answer, no, that display will not work with this project.

That display has a different interface than the Nextion. You would need to write your own display driver and connect the required pins. The Nextion display uses serial RX/TX to communicate. The display you linked does not.

1 Like

Hi guys, I’ve been strugling for some time with the newest version of hassio or should I call it HassOs ??

My system:
System: HassOS 2.12 (armv7 / raspberrypi3)
Home Assistant version: 0.99.3
Supervisor version: 189

In the past I tested my HASP, and managed to connect and play with my Nextion.

Can anyone confirm that using latest version of HassOS, with the MQTT Broker Addon (I installed all following https://www.home-assistant.io/addons/mosquitto/, and successfully run the test) HASP should work?.

I also tried, MQTT Broker addon on Hassio - Unable to connect to the broker . But I cannot manage my HASP to connect to the MQTT broker.

Kindly request if anyone can point some docs, anything else to test/verify… confirm that current Hasp configuration docs should works under the current HassOS version.

Hi,

Update: edited the full design made it a 2 part version a frame and a facia and tried new materials Like wood & dupont corian (in white), using big CNC machines to get this completed and in the end used a laser to add a little logo sharing some pictures

All materials

Back Frame With Magnets

wood & corian

wood front (pending polishing)

@luma the project keeps on giving thank you so much :smiley: :raised_hands:

7 Likes

motion sensor - how to implement either radar or PIR sensor, what pins and what code needs to be implemented for it to set the screen to sleep when no one is around.
what have others done?

You can set the pin in the HASP webinterface. If I’m not mistaking it was either D0, D1 or D2.
You can find an automation in my repository to turn on and off the display when motion’s detected.

1 Like

Is it possible to control relays?, If not how I can add support for relays, I would like to replace the double lighting switch.

Any relay that Home Assistant can support will work through automations triggered by HASP.

I have a module for esp8266 for a box with two relays and on this I want to install a hasp. Will I be able to control these relays? That is, hasp supports relays that are on the same module as the hasp installed.

through mqtt and hass, yes.

Out-of-the-box, no HASP won’t run on that same device. The HASP code does not offer local GPIO control for adding arbitrary devices likes relays. To make this work, you’d need one ESP8266 to run your devices, and another one for HASP, or you’d need to add GPIO control to the HASP code.

Yes I did mean you’d have to add code for the relays…

I don’t know much about programming, can I ask for help in writing and adding the code?

If i was you i would head down this path

buy 2 wemos

put the HA switchPlate on 1 and do that build

and Tasmota on the other

but as both are in the same place you could get the 5v power for the HA switchPlate to power the
secord wemos

then if anything breaks ie the HA switchplate you can ask the question here.
and if Tasmota break you can ask in this forum some will help you

see clear as mud

hey @zonko, may you can help me
after my sd- card crashed last week i updated my hassio to 0.101.2

now most of my HASP automations are broken, e.g. this one:
https://github.com/zonko16/Custom-Pages-for-HASwitchplate/blob/ce5ed71aab2853cef466d7a749044ddcc4675860/packages_2.4in/packages/plate01/hasp_plate01_p3_weather.yaml

there is no output after the messages related to line 70. but if i change

    - service: mqtt.publish
      data:
        topic: 'hasp/plate01/command/p[3].b[6].txt'
        payload_template: >-
          {% if states.input_boolean.hasp_plate01_p3_temperatureswitch.state == "on" -%}
            "{{ states.sensor.TEMPERATURE.state }}°C" 
          {%- else -%}
            "{{ states.sensor.dark_sky_temperature.state }}°C"
          {%- endif %}

to

    - service: mqtt.publish
      data:
        topic: 'hasp/plate01/command/p[3].b[6].txt'
        payload_template: 
            '"{{ states.sensor.dark_sky_temperature.state }}°C"'

i get at least the outside temp, but again no messages after that line of code.

are there some breaking changes in templating since version 0.98.X?

Hi @luma

Is it possible if you could provide a list of the hardware I require to purchase for this project?

Many thanks.

Sure!

2 Likes

Hello mate

Did you get anywhere round making one with a bigger screen?

Thanks.