Iām curious about this - what platform are you running on? -d is mentioned in the strftime documentation as being āplatform specificā. Iāve run hass w/ the automation on raspbian and ubuntu (x64) and it works as expected.
That requires MQTT discovery to be enabled. Itās used in a lot of places in my example automations, and Iād strongly recommend adding that to your config. ābinary_sensor.haswitchplateā will be created automatically via this mechanism and is used to report to hass if the HASP device is online or not. Several of the automations will trigger based on this sensor going online to initialize the panel, so a bunch of things arenāt going to work right if you donāt have MQTT discovery enabled.
Iām running it on a VM Ubuntu x64 but Iām using HassIO maybe thats why.
I guess I need to get MQTT discovery working correctly. I thought it was working with a prefix of homeassistant maybe the code required /homeassistant got to check.
Installed into the wall in a low voltage bracket (Iām using a 5V micro-USB power supply and feed the power under the outlet cover and up the inside of the wall to it). Glad I finally did this and it works great. I had the display, ESP8266, and cover but never put it anywhere. Itās in a nice central location of my house.
I know I brought this up before and I donāt remember what the cause is, but can you @luma explain to me again why the page does a double or triple refresh when it changes pages? Thanks!
Hmmm, I have the latest pages automation yet it still refreshes the multiple times on page change. Iāve reloaded automations and restarted HA many times. In fact Iāve had that exact automation file since at least november 6th.
Hello. I have this working and its awesome. In terms of having multiple screens, would it just be a case of having the same on each screen, or is there an easy way of configuring it for multiple screens?
Would I have to have different automation files per screen?
You will need to change the value for mqttNode in the Arduino sketch to some new value, and then you can search+replace (make sure itās Case Sensitive!) in your automations to replace āHASwitchPlateā (again - Case Sensitive!) with your new mqttNode value. Some of the automations such as HASwitchPlatePages.yaml will need a new copy that is dedicated to the second panel. Most of them could simply be modified to be triggered by messages from either panel and to publish MQTT messages to multiple panels. All automations will need to be either modified or modified+duplicated.
@luma absolutely amazing project. Just came across it today. Really well done.
I donāt have home assistant but I have a nextion that Iām using for some basic home automation and Iād love to install your enclosure in my wall.
Is the PCB available for download or can I order it directly from a pcb printing site?
I assume with the pcb and the bom I can send to a place like sunstone circuits and theyāll print the pcb and assemble everything?
Having some issues. I can change the active screen via home assistant, but everything is blank on the different boxes on most of the pages. Except for Page 2 which shows the time in the top, and day and probably the date (Canāt see since the box is too smal). When I try to change the input text/number in Hass nothing happens on the screen.
So some people in an Arduino forum were cautioning me against doing this project as described, saying that putting something like the Mean Well AC/DC converter onto a PCB like this is dangerous because there isnāt enough clearance or something, or distance from the DC portion.
Have people installed this project in their walls without issue? Can anyone speak to the safety of how itās designed?
this is an āat your own riskā project. steps were taken during the design of this project by the maker to mitigate or prevent issues with high voltage and low voltage in the same enclosure and right next to each other. the problem comes when trying to stuff everything in a box. things could arc, things could short, smoke and flames could happen, but thatās true for anything that uses electricity. I decided to use an external USB 5V power supply and feed the cord inside the wall up to the screen for these reasons.