@matthewjohn are you by chance affected by the recent MQTT upgrade and changes? Many people are experiencing issues with the built in MQTT broker or the MQTT add-on because the configuration and setup has changed. I think one of the big things is it no longer allows anonymous MQTT logins. Taking a stab in the dark, just something to check.
@squirtbrnr - I saw some post about this. I turned anonymous off and setup a username and password for MQTT. I then updated the MQTT username and password on the Switch Plate. According to the log, it looks to be connectingā¦
HI
Just wondering how i stop having to retrigger the first time automation on everu HA restart
i have modified the automation to add
- alias: hasp_gardenswitch1_00_FirstTimeSetup
trigger:
platform: homeassistant
event: start
but i still have to enable and trigger after each restart
Hello
Iām weary new in the HA and I donāt know how to program but this thing looks weary good.
Is it possible to create a alarm clock with this project. I have an idea to tell google home mini OK google set alarm to 6:00 and then will alarm shows in the LCD. So that i can see that alarm is active or I forget it to set.
Sorry for my English, Iām from Slovenia
Yes the lcd just display a mqtt message sent to it Eg when my garge door is open it display a green background colour and when closed its red easy to see if door open/close
You should not have to re-trigger this automation at every start up. This one just sets up some basic information into newly created variables for you to help save some confusion the first time the input_numbers are added to HA. What issue are you seeing that is driving you to re-run the first time setup on every HA restart?
This is definitely possible but youāll have to sort your way through to be able to do it yourself as I havenāt heard of anyone doing this yet. I would go about it by using HA to manage an input_number which is updated with the time until the alarm goes off in seconds. Then you would just publish this number to the HASP under topic hasp/plate01/command/p[3].b[4].txt, as an example. The HASP will then give you a countdown to the alarm going off.
Be aware, this project doesnāt have any way to make any sounds, or vibrate. It is strictly a display.
Do you have recorder enabled? See https://github.com/aderusha/HASwitchPlate/blob/master/Documentation/05_Home_Assistant.md#recorder
Iām still waiting for my raspberry pi to come to install the Home assistant and Iām in learning state. So when I was surfing across the internet I find this LCD, which it looks weary nice. Iām looking for the alarm clock which works with HA and I didnāt find it, so I figure it out to modify this if itās not a lot of work. I donāt need the countdown variable I just need to show when is alarm set (like 6:00 AM or something like that). Because Iām not going to work every day at the same time so I need to change the alarm clock every day
The HASP can display anything home assistant knows about. Your challenge will be to get the alarm information from Google into home assistant. Once hass has it, then it can be sent to HASP.
Edit: maybe this might help?
I did a crude implementation starting from the alarm panel. Currently Iām away but In a week or so I can share my implementation
I have all the parts (including lumaās PCBs which are gorgeous!). However, I donāt have 110v in the area Iām planning on putting it. I do have a thermostat with a C wire nearby, so Iām considering pulling the 24vac from there. I have a 24vac to 5vdc converter from Amazon (SMAKN) but itās a bit big/awkward.
A few questionsā¦
-
I love the Mean Well AC to DC setup, but it doesnāt appear they make one that can convert off 24vac (83v is minimum, I guess). Does anybody know if that Is that correct?
-
Any idea how many amps/watts this pulls on 5v when fully bright and such? I donāt want to overload the HVAC transformer (I havenāt crawled up in the attic to check the rating yet).
Oh, and thanks for sharing such a cool project!
I know this isnāt precise, but sub 500 mA for sure. It runs just fine off a standard USB port so if you pick a power supply that can do at least 500mA @ 5V youāll be dandy.
Ah, it makes total sense that 500ma would be the top-end, and something that didnāt cross my mind for some reason, so thanks for that!
The AC to DC step-down converter I picked up can handle 3A on the 5v side, so I know thatās okay. My concern is that I adding another device to the 24vac thermostat feed, which is provided by the HVAC transformer in the attic.
The HVAC was installed just a few years ago, and is somewhat advanced for a residential system (multiple thermostats and zones). But I have no idea the KVA rating for the transformers, or if there are multiples for the different zones. A 40KVA seems somewhat common, but that only provides 1.6 amps on the 24v side. Adding up any contactors/relays + the smart thermostats it drives, Iām not sure how much headroom I have.
Iām guessing it will be fine, but with the Santa Ana winds coming in (with the associated 80+ degree weather), killing the HVAC transformer with this project would not be good for my marriage. So, I guess Iāll be breaking out the flashlights and crawling in the attic this weekend to check the KVA ratings.
EDIT: This is the stepdown that I purchased: https://www.amazon.com/gp/product/B00RE6QN4U/
Hi Luma
yes recorder is enabled.
recorder:
db_url: xxxxxxxxxxxxxxxxxxxxxxxxxx
purge_keep_days: 10
exclude:
domains:
- weblink
- updater
- media_player
include:
domains:
- automation
- sensor
- binary_sensor
- switch
- climate
- light
I suspect your include domains:
statement is the problem. The way I understand it, when you use āincludeā that means nothing else is included, so my first observation is that the āexcludeā section is redundant. Also, I donāt know what domain āinput_textā and āinput_numberā fall under, but I think you might be able to do something like:
recorder:
include domains:
- input_text
- input_slider
will probably do it.
In any event, recorder is how things are saved, and youāre configuration isnāt saving things, so something in how youāve configured it there is the source of the problem. You can test this by disabling all of the include/exclude portions there and Iām confident it will work.
Interesting, i will modify my config and report back shortly
Is anyone else having MQTT issues that are effecting your Switch Plates? @luma - Looking over the bug, it seems it is confirmed that it only affects unauthenticated connections. Iāve set my MQTT to use authentication and can see the switch plates are able to connect. I looked for the logs you are referring to, and cant find them. Can you give me the full path location on hassio?
I enabled MQTT debugging and I can see HASSIO sending and receiving messages to the switch plates.
I see: update LCD available falseā¦
I see: Disconnected: Did not receive auth message within 10 seconds
I think itās related to this:
Possible Fix:
https://appdaemon.readthedocs.io/en/stable/CONFIGURE.html#hass-authentication
- Tried these things, now gettingā¦ MQTT not authorized.
I donāt believe that this is at all related to the error message youāve posted, as we arenāt using auth tokens. Where are you seeing the āauth messageā error? I have to apologize as I donāt use hass.io so Iām not clear on where logging resides. Can you open a browser to the IP address displayed on the HASP display and screenshot the result?