yea, I know the 32 is better, but the docs say if what you happen to have is a d1 8266 it will just be slower
They have the code for it, so there must be a way ??
I can’t find that, can you point to those docs?
Edit: found some, but also that esp8266 support was removed in 0.6.3. v0.6.3 Released · HASwitchPlate/openHASP · Discussion #338 · GitHub
Again, I know a 32 is preferred but it must have worked somehow
The performance of the ESP8266 will be slow due to its low memory and CPU frequency. It is okay for getting started, for small project where speed is not needed or when you have one at hand.
That’s the documentation from the older 0.6.0 version.
ESP8266 support was dropped in 0.6.3 as @nickrout mentioned. So yes, at some point there was indeed (slow) ESP8266 support, but that was a few years ago. The File Editor was not included in the ESP8266 version:
Changelog
Web UI:
- Include a File Editor on ESP32: Create, Edit, Upload, Delete and Apply pages.jsonl (Thanks Cossie)
The ESP8266 was just too under-powered in every aspect that it wasnot worth supporting it anymore. An ESP32 or ESP32-S3 costs just a few bucks and it will be the best upgrade you can make.
I understand and agree the esp32 seems to be blazing. I have put the code on 2 diff boards and the web pages load great. I can even change the pages json file and it shows in the screenshot. My problem is I cannot get the esp32 mini to show anything on the screen. It is the mini with2 rows of pins on each side and I am only using the inside pins to plug into my lilon tft 2.4 I even have it configured in HA and can see the screenshot change when I turn my light off and on. These boards do not say Wemos anywhere. So I have no clue if maybe the pin definitions are different or my hot air soldering skills stink
https://www.wemos.cc/en/latest/d1_mini_shield/tft_2_4.html
My d1 mini esp8266 lights up and I see all this neat stuff but I cannot upload the pages file. I understand that it is no longer supported, but when is was, how did you upload pages I just want to play until I can figure out how to get a 32 to work
Can someone using this type board look and see if the pinout is the same as yours?
Which binary did you download and flash?
The d1-mini-esp32 build file is here https://github.com/HASwitchPlate/openHASP/blob/0ebfe7dcef4a9d01e10e0ad86005ae17289c6986/user_setups/esp32/d1-mini-esp32_ili9341.ini
You will see that it is built with TFT_DC=5, whereas the hat you pointed to has TFT_DC wired to GPIO15. There may be other differences.
So I think you’ll need to do your own compile. @fvanroie will correct me if I am wrong.
PS it is easiest to buy a device that openhasp already supports.
Thanks, well I cant figure out why this board does not work as it seems to be the one linked to. I have ordered some more (others) from china but it will be a couple of weeks.
I have used platformio before but not having any luck getting anything to compile yet.
Do you have an amazon link for a board that works?
Thanks again,
Grey
Oh, I used the web installer esp D1 mini
Linked where? Do you mean here? Lolin - openHASP
I know for sure this works SenseCAP Indicator D1 - openHASP
And this https://www.openhasp.com/0.7.0/0.7.0/hardware/wireless-tag/wt32-sc01/
Yes the first link. The 3 suggested boards all go to ali express. I have d1 minis from china and amazon. none work. I cannot find the other 2 at amazon. I ordered the Lolin pro from china, but that is 2 weeks
Which firmware did you download and flash?
Oh, I used the web installer esp D1 mini
Web installer D1 mini
I am looking for any board from Amazon that will work on the Lilon TFT 2.4 board.
The esp8266 D1 Mini worked fine but is no longer supported
Try the Lolin image, not the the d1-mini-esp32
Thanks, that is for a different board but I tried it anyway on the d1 mini and it just bootloops
https://www.wemos.cc/en/latest/d32/d32_pro.html
Well it turns out the D1 Mini esp32 boards I have work like a charm if you get someone other than me to solder the pins
Plug n play on the lolin TFT 2.4 lcd
Thanks
Grey
Story of my life mate. Glad you got it up and running.
I am experimenting with a SenseCap D1 and everythign works with openhasp integration and putting some automations in the configuration.yaml
I think I would prefer to write the automations in pyscript. I am struggling to receive the mqtt messages. I wrote a standard yaml automation to test the basics, but don’t get anything. So this boils down to a pure HA question. How do I capture MQTT messages in an automation? I tried all kinds of variations on:
alias: hasp test
description: ""
trigger:
- platform: mqtt
topic: hasp
encoding: utf-8
condition: []
action:
- service: notify.mobile_app_frederics_iphone
metadata: {}
data:
message: hasp
mode: single
What else do I need to configure? Any pointers would be very welcome.
Thanks
Here is the information