EDIT: v1.1.1 hat ein paar kleine Bugfixes bekommen:
- fixed mcp inputs not being displayed correctly
- fixed water level 1 error which kept it from taking other values than 0
- fixed error which prevented “main battdata” to be initialised on boot
- changed sampling frequency of PCA9685 to 200 (dimmer section)
- changed http request nodes in Pekaway Shunt flow to use 127.0.0.1 instead of localhost
- added function to start a second Node-RED instance, using a backup flows file (Config > System > System Update)
- added a timezone picker in Frontend (Config > System)
- added function that displays the system time in the info tab & altered format of system time in frontend (Config)
Zusätzlich wurde das Updatescript überarbeitet.
Ein Update für das Touchdisplay gibt es hier (VanPI Touch 1.0.4.tft)
Das Image für die Version v1.1.0 ist jetzt online und kann hier heruntergeladen werden.
Den kompletten Changelog findet ihr hier.
Achtung: Ein Update von vorherigen Versionen über die Update Seite im Dashboard wird nicht funktionieren!
Wenn ihr das Update manuell vornehmen wollt, dann führt bitte die folgenden Befehle nacheinander aus:
cd ~/pekaway
wget -O ~/pekaway/updatescript.sh https://git.pekaway.de/Vincent/vanpi/-/raw/main/pi4/updatescript.sh
chmod +x ~/pekaway/updatescript.sh
bash ~/pekaway/updatescript.sh
Ihr müsst dann einmal im Dashboard zu Config > Switches gehen und dort bei den Dimmern unten “PWM max %” setzen, damit die entsprechende Einstellung erstmalig gesetzt wird. Sonst steht der Wert auf 0 und über das Dimmy wird nichts mehr ausgegeben. Das Ganze ist eine Funktion um einstellen zu können, wieviel Power über das Dimmy ausgegeben wird.
Beachtet bitte, dass bei dem manuellen Update mehrere hundert MB heruntergeladen werden können, je nachdem auf welchem Stand euer aktuelles Image ist. Und das es dementsprechend auch länger dauern kann.
Die Updates:
- added a precompiled .tft file (VanPI_NSPANEL.tft) for the Sonoff NS Panel to ~/pekaway together with the berry driver (autoexec.be), which is needed for the flashing process
- quickstart NSPanel:
- install Tasmota via Install Tasmota (choose “Tasmota32 Sonoff-NSPanel(englisch)” to be flashed)
- connect the panel to the wifi accesspoint of your RPI
- use configs as described here: Prepare NsPanel - NsPanel Lovelace UI Docs
- set MQTT-Broker to “pekaway.local” and topic to “WifiTouch” (case sensitive)
- go back to the console in tasmota and type (or flash it from the Node-RED dashboard: Config > System Update > NS Panel):
- “Backlog UrlFetch http://pekaway.local/autoexec.be; Restart 1” → downloads the driver from the local filestorage via nginx
- “FlashNextion http://pekaway.local/nspaneltft” → flashes the precompiled .tft file
- a new flow “Wifi TOUCHPANEL” has been added to Node-RED, which also includes examples for the two hardware buttons on the panel
- added a function to upload your own .tft file to the raspberry (Config > System > System Update > NS Panel)
- added functions to install the berry driver and flash the .tft file (Config > System System Update > NS Panel)
- quickstart NSPanel:
- added code to the nginx server block to make the berry driver and the .tft file accessible via http
- added check for i2c devices in dimmer flow to prevent showing error messages if Dimmy is not hardwired
- messages to PCA9865-Node are limited to 10msg/s (1msg every 0.1s)
- added slider to set max_pwm in % as overvoltage protection (config > switches > dimmer section)
- added dimmytemp sensor data to http endpoint /temp (only when set to active in config)
- reworked the function that generates the default wifi ssid to be a bit more randomized
- reworked the function to reset the wifi to use the same process that generates the default wifi ssid
- reworked the update function
- it will now download a script from the Pekaway servers and execute to keep it seperated from Node-RED (your local flows will still be replaced with the flow file from the server!)
- the script can be found at git.pekaway.de
- fixed error that sometimes displayed ble-bms info in textfield for “currently set battery” (config)
- fixed error with libevdev2:armhf package
Ein Update für das Touchdisplay 1.0.3 gibt es ebenso, ihr findet es hier.
Ich hoffe ich hab nichts vergessen, schönes Wochenende euch allen