- Add USERICONS and colorScale to Alias-Channel Slider
- Prevent version search to the old directory path (Berry-Driver)
- Add cardThermo2 to Script
- Add Pirate-Weather Adapter
- TFT 58 / 4.9.5 - Add cardThermo2 (eu/us-l/us-p) to HMI (TFT)
@@ -94,37 +94,3 @@ Now, to install NSPanel Lovelace UI Backend with HACS, follow these steps:
proceed with the download
7. The Backend Application is now installed, and HACS will inform you when updates are available
# Workaround for HomeAssistant 2024.04
AppDaemon is using the old REST API that until AppDaemon moved on the the websocket API this woraround is needed to get weather forecast data from homeassistant. (https://github.com/AppDaemon/appdaemon/issues/1837)
To get the forecast data in appdaemon, there is a script needed in homeassistant's configuration.yaml:
```yaml
template:
- trigger:
- platform:time_pattern
hours:/1
- platform:homeassistant
event:start
action:
- service:weather.get_forecasts
data:
type:daily
target:
entity_id:weather.home# change to your weather entity
response_variable:daily
sensor:
- name:Weather Forecast Daily
unique_id:weather_forecast_daily
state:"{{ states('weather.home') }}"# # change to your weather entity in this line
attributes:
temperature:"{{ state_attr('weather.home', 'temperature') }}"# change to your weather entity
temperature_unit:"{{ state_attr('weather.home', 'temperature_unit') }}"# change to your weather entity
forecast:"{{ daily['weather.home'].forecast }}"# change to your weather entity
You need to connect to your nspanel via serial and flash tasmota [tasmota32-nspanel.bin](http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin) to your NSPanel.
You can use the Tasmota Web Installer to do so. [Tasmota Web Installer](https://tasmota.github.io/install/)
You need to connect to your NSPanel via serial and flash Tasmota using [tasmota32-nspanel.bin](http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin).
You can use the [Tasmota Web Installer](https://tasmota.github.io/install/) to do so.
Checkout Blakadders Template Repo for more information on flashing, do not use the autoexec.be from this page.
Checkout Blakadder's Template Repo for more information on flashing. **Do not** use the autoexec.be from that page.
[NSPanel Page of the Tasmota Template Repository](https://templates.blakadder.com/sonoff_NSPanel.html)
If you prefer EspHome over Tasmota, you can use this thrid party esphome component, which is replacing tasmota and the berry driver of this project.
Configure the NSPanel template for Tasmota. (Go to Configuration and Configure Other and paste the template there, make sure to tick the activate checkbox)
Configure the NSPanel template for Tasmota. (Go to Configuration > Configure Other, paste the template there, and make sure to tick the Activate checkbox.)
This will download the autoexec.be file from the repository and restart tasmota.
This downloads the autoexec.be file from the repository and restarts Tasmota.
Note: The command is also disabling matter to free up memory, as it's most likely not used by any homeassistant users anyway.
(Matter could cause memory issues during flashing of the Nextion Screen, but you can still enable it if you need to.)
Note: This command also disables Matter to free up memory, as it's unlikely to be used by most Home Assistant users. (Matter can cause memory issues during flashing of the Nextion screen, but you can re-enable it later if needed.)
---
## Flash Firmware to Nextion Screen
Due the limitations of Berry, it's not possible to download the tft file directly from github, so I'm also renting a small server where you can download the file via HTTP.
Due to the limitations of Berry, it's not possible to download the TFT file directly from GitHub. A small server is available to download the file via HTTP.
Use the one following commands in the tasmota console (not berry console) to flash the latest release from this repository:
Use one of the following commands in the Tasmota console (not the Berry console) to flash the latest release from this repository:
EU Version: `FlashNextion http://nspanel.pky.eu/lui-release.tft`
After sending the command, the screen should show a progress bar. The flashing progress takes around 5 minutes.
After sending the command, the screen should show a progress bar. The flashing process takes around 5 minutes.
Note: For the US Version Users - keep in mind that you need to add the model config option to your apps.yaml later, more details on config overview page
Note for US users: You'll need to add the model config option to your apps.yaml later. More details can be found on the config overview page.
---
<details>
<summary>Alternatively you can use your own webserver or the one build into HomeAssistant:</summary>
<summary>Alternatively, you can use your own webserver or the one built into HomeAssistant:</summary>
<br>
Upload the nspanel.tft from the lastest release to a Webserver (for example www folder of Home Assistant) and execute the following command in Tasmota Console. (Development Version: [tft file from HMI folder](HMI/nspanel.tft))
Upload the nspanel.tft from the latest release to a webserver (for example, the www folder of Home Assistant) and execute the following command in the Tasmota Console.
(Development version: [TFT file from HMI folder](HMI/nspanel.tft))
**Webserver must be HTTP, HTTPS is not supported, due to limitations of berry lang on tasmota**
**The webserver must be HTTP. HTTPS is not supported due to Berry language limitations in Tasmota.**
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.