What’s currently the best STL to use in Europe? I’ve made this build https://github.com/aderusha/HASwitchPlate/issues/46
This is my second switch plate (the first has been working flawlessly for over a year) but this one is exhibiting some really strange behavior. I was wondering if anyone else had seen this and could help with troubleshooting.
I’m leaning towards a hardware issue. I’ve checked all of the connections to be sure they are soldered well. I reloaded all of the software and I have the config files all back to the default.
Sometimes when I restart it will work ok for a bit but always goes back to a weird state of unresponsiveness and strange characters at some point.
Sometimes when I restart it will stick on the initializing screen almost like the TX and RX are switched but another restart gets it to come back up eventually.
Thanks for any help.
That is a pretty tough situation to diagnose. My initial response is that you are somehow getting noise on the line from the board’s TX to the Nextion’s RX, but these aren’t high speed signals and there shouldn’t be anything else particularly noisy on the board there that I can think of.
If you pull the device from the wall and hook it up via serial, maybe you can watch the serial log for more info? Any further steps would probably involve watching the serial traffic from the panel by soldering a UART in there (or using a logic analyzer), or an using an oscilloscope to watch the power rails and data signals to confirm there aren’t any power or signal problems. That of course means having a 3 or 4 channel scope nearby…
If you can take high-res photos of the solder job on the PCB and the Nextion panel we might be able to visually identify problem areas through the forum here.
Finally, there’s always the option of swapping out parts to see if maybe there’s a bum WeMos (I’ve run into several) or possibly bad Nextion (much less common).
Hi Guys, I’ve just got hold of the Nextion TFT and got HAswitchplate up and running last night on a nodemcu which was great . but I had forgotten that it only has 3.3v power. The screen initally worked fine, but at some point during my testing it just went blank as if the backlight had stopped working. Anyway this morning I plugged it into a d1 mini and tryed again, this time the screen stayed completely blank? The weird thing is when I put the SD card in and update the tft file the screen powers on and once I remove the power aftwards and switch back on its blank again?
If anyone has any ideas I’d much appreicate it or have I damaged th screen by using 3.3v??
I’ve also checked the MQTT messages and when I press on the touch screen its working as I can see the mqtt message, but the screen is just blank as if the backlight has stopped working. If I toggle the backlight on in home assistant nothing happens there either
Has anyone tried to do a color selector on HA switchplate. I want to set the color of my leds in my kitchen. I was thinking of using a fire tablet, but then I thought, why not see if HA switchplate can do it. I thought I would at least ask. Thanks!
Just a side thought here has anyone thought of esp32’s as they have a bit more grunt behind them and could allow for more features?
The only particular feature from an ESP32 that I think would apply here would be the addition of a BT radio. We’re not even close to hitting the limits of an ESP8266 in regards to resource utilization.
Unfortunately, there aren’t any drop-in replacement ESP32 boards that I’m aware of which would fit within the current project footprint, requiring a complete redesign of the PCB and the enclosure.
My only thoughts where when I was reading about the memory limitations forcing the need to drop a page
That is due to the Nextion “basic” panel, not the ESP8266. I really like the ESP32 and it’s my standard micro for new projects, but for HASP we’re likely to stick w/ ESP8266 for the reasons mentioned above.
hi, @luma i was just wondering is there a command or a way to set static ip in the ESP ? other than reserving IP from router ?
Thanks
The project currently doesn’t have the ability to set a static IP without modifying the Arduino code, so for the moment a DHCP reservation might be your best bet.
Hey guys, I just set up my second switch plate. This time I have added a motion sensor to pin D1. In the settings I have set it to the correct pin. The motion sensor is not showing is Home Assistant even after restarts. Could anyone help me out? Thank you.
Check out the example package for the motion sensor. For some reason I never implemented a discovery message for that (probably should add to my to-do list), so you need to tell Home Assistant how to deal with the sensor. Place that example under your packages
folder, search for plate01
in there and replace with your device name, then restart Home Assistant and you should have a working motion sensor.
legend! Thank you.
@luma thank you for you quick reply aways, one more thing is it also possible to sent .tft file through wifi like OTA or something rather than pulling screen time and time to update the UI
also still loving the project now using 7" screen with Aluminium , when ever i have to pull out everything to change
thanks in advance
WOW! That’s looking great!
The Nextion firmware can be pushed through HTTP upload, or pulled from an HTTP server in much the same way as the ESP8266 firmware. Check the /firmware
page on the device and you should see something like this:
That Looks real y cool. Can you publish your config?
Wow, that looks awesome indeed!!!
Very Nice the aluminium thing!
Can you Tell us how you made this frame and how you glued/screwed the nextion to It?
And If possible, share some pictures of the back.
Congrats on the work!
Hey, what is this software and hardware have this nice UI/UX?
thanks