I have the same problem but I use NodeRed and EVOK API.
All the sensors connected directly to my Neuron L203 started showing a constant temperature out of nowhere, which was very dangerous. However, the sensors connected via xG18 were showing correctly.
Since then I restart the evok with cron task every hour just to be safe. systemctl restart evok.
Thank you for your post.
This is a typical error when setting up communication with INEPRO/KLEFR electricity meters, and it is really necessary to be careful when setting up other devices (modbus tables).
tyto moduly jsou z prvopočátků vývoje a bohužel se k nim nedochovaly potřebné manuály. Pokud však došlo ke zpomalení komunikace po aktualizaci na novější verzi, hledal bych různé intervaly komunikace (např. u komunikačních skupin) a nastavil je na 0ms.
Případně zkuste připojit modul 1W-4R-4DI přímo na 1-Wire sběrnici zařízení Unipi 1.1.
In the current version of Mervis OS 22.214.171.124, writes to the card already occur at least, according to the set interval for storing retain variables.
For a similar reason, the history is newly stored in RAM (data is lost after the power is disconnected or restarted), which does not matter in combination with the cloud-based Mervis DB.
If you disable writes to the internal storage (SD card), there are two possibilities of what can happen (depending on how you disable the writes):
Mervis RT always unlocks the storage when writing retain variables, writes and locks the storage again for writing (basically the same behavior as now)
Storage will be permanently locked and retain variables will not be writable. Likewise, it will not be possible to upload a new assembly (program) from Mervis IDE.
In general, I recommend purchasing an SLC card with a longer lifespan and resistance to random power outages, etc., for the operation of the controller.
You can read more about this issue in this article.
If you already save the variables in the history (this guide), you can display them in the graph in two ways:
using the integrated graph - press and hold the CTRL key and click the desired value in the HMI (e.g. on the Value Indicator gadget) with the mouse left button, then the graph tab will appear (similar to Mervis SCADA)
Insert the graph as a gadget, instructions are available here: Mervis HMI - Chart
To turn on the DirectSwitch function on DI1.6+RO1.6, it is necessary:
enable direct switch by writing log.1 to coil 1012
set the desired function by writing log.0/1 to 1024 and 1036 (toggle has priority)
save the Extension configuration by writing log.1 to coil 1003
disconnect/connect the power supply of the device, or reset the MCU by writing log.1 to coil 1002
It is similar for other I/O. (Note: log.0/1 I mean logical states 0/1, i.e. FALSE/TRUE)
We have been working hard on EVOK and other packages for bullseye OS for the past few months and it is already working on most Unipi Neuron and Unipi 1 HW. We are planning to release another version within this week where all Unipi Neuron and Unipi 1 HW will be fully supported.
Adding Unipi packages to Raspberry Pi OS is possible with the following command: