@pavluchenkor (https://t.me/pavluchenkor) I’ll share my opinion on having a web interface in the dryer. I think it should exist, but as an optional feature. It should be necessary and sufficient to control everything from the local operator panel. And then it can be supplemented with a web interface. Making a web page these days, with modern frameworks, doesn’t seem very rational to me. It makes more sense for the dryer controller to send and receive data over a standard IoT protocol, for example MQTT over wi-fi.
The main thing is how data reception is organized. It has to be convenient and hassle-free for the user. Here’s how I see it: a person buys a dryer controller and downloads a script for Windows from GitHub, which deploys containers on their Windows machine on the same local network as the dryer:
- node-red — it will receive data over MQTT and write it to a DB, and it will also have a dashboard (in the form of a web page) that can be used to control the dryer, though the visualization would make more sense in Grafana
- influx-db — a time-series DB, ideal for monitoring processes running in parallel over time
- Grafana — a powerful visualization system for whatever the DB has stored.
This list is flexible, and a lot of it can be swapped out for something else, for example by using telegraf from ifnluxDB.
🇷🇺 Оригинал
@pavluchenkor (https://t.me/pavluchenkor) Выскажу свое мнение о наличии веб-интерфейса в сушилке. Я считаю, он должен быть, но опциональный. Необходимо и достаточно управляться должно с локальной панели оператора. А уже дополняться – веб интерфейсом. Веб-страничку делать при развитии современных фреймворков, на мой взгляд, не рационально. Логично сделать, чтобы контроллер сушилки отдавал-принимал данные по стандартному протоколу интернета вещей, например MQTT через wi-fi.
Главное, как будет построен прием данных. Чтобы было удобно и безгеморройно для пользователя. Я вот так вижу: человек покупает контроллер сушилки и качает с гитхаба скрипт под винду, который разворачивает в контейнерах на его виндовой машине, находящейся в одной локальной сети с сушилкой:
- node-red – ей будем принимать данные по mqtt и писать их в БД, и в ней будет дашборд (в виде веб-странички), которым можно управлять сушилкой, причем визуализацию логичней делать графаной
- influx-db – БД временных рядов, идеально подходит для мониторинга процессов, протекающих параллельно по времени
- Grafana – мощная система визуализации того, что сохранила БД.
Этот список гибкий и там много что на что можно заменить, например, применив telegraf от ifnluxDB.
Feels like a hack. IMHO that container is totally unnecessary on a local machine. It’d be проще to collect the data on some device like the printer (where there’s already some brains).
🇷🇺 Оригинал
Костыль какой-то, ИМХО нафиг этот контейнер не сдался на локальной машине. проще собирать данные на каком нить устройстве типо принтера (где уже есть мозги)
I also think a 2000-ruble single-board computer like an orangePI 3 zero with Linux would be the more correct approach. But will people actually want to bother with it?
🇷🇺 Оригинал
Я тоже считаю, что правильней одноплатник за 2000 руб типа orangePI 3 zero с линуксом. Но народ захочет ли заморачиваться?
whoever needs it will buy a single-board computer, whoever doesn’t need it, doesn’t need it
🇷🇺 Оригинал
кому надо - тот купит одноплатник, кому не надо - тому не надо
Yeah, an orange pi 2w would be enough. That’s what I’m going to use for the iDryer unit.
🇷🇺 Оригинал
Да хватит и orange pi 2w. Я для iDryer unit ее и буду использовать.
A web interface in the dryer is needed for control and monitoring. Monitoring is clear enough. But where’s the control?
🇷🇺 Оригинал
Веб интерфейс в сушилке нужен для управления и мониторинга. С мониторингом - понятно. А где управление?
Through the node-red web page, which sends info over MQTT to topics on the dryer. Here’s something primitive, but used every day. And here are the nodes that pull data from MQTT and write it to the DB.


🇷🇺 Оригинал
Через-веб страничку node-red, которая шлет по mqtt инфу на топики в сушилку. Вот примитивное, но используемое ежедневно. А вот ноды, которые забирают с mqtt и пишут в БД.


So the dryer is controlled by the computer? Or am I not understanding something…? Where is the temperature controller located?
🇷🇺 Оригинал
Т.е. сушилка управляется компом? Или я что то не понял… Регулятор температуры где находится?
The controller does everything: regulates, calculates the PID, and so on. But for example, the setpoint can be changed over MQTT, and the setpoint interface can be made as a web page on the computer using node-red.
🇷🇺 Оригинал
Все делает контроллер, регулирует, рассчитывает ПИД и т.д. Но например, уставку, можно менять через MQTT, а интерфейс уставки делать с помощью веб-странички на компе, с помощью node-red.
Honestly, the whole thing looks very complicated and overengineered…
🇷🇺 Оригинал
Как то все очень сложно и заморочено выглядит, если честно…
I see it by analogy with a TV remote control. The TV has buttons on the body, it has a menu, and it has an app on a mobile phone. Is the mobile app necessary? Instead of an app, I’m proposing a web interface, and the fact that it’s implemented with several tools is normal practice — it means less manual work reinventing the wheel.
🇷🇺 Оригинал
У меня аналогия с пультом управления от телевизора. У телека есть корпусные кнопки, есть меню, а есть приложение на мобильном телефоне. Нужно ли мобильное приложение? Вот вместо приложения я и предлагаю веб-интерфейс, а то, что реализуется несколькими инструментами, это нормальная практика, так меньше ручного труда по созданию велосипедов.
It’s a nice idea. Now all that’s left is to find someone who’ll build the whole thing. So it’s just setup.exe, next, next, and everything works with no configuration…
🇷🇺 Оригинал
Идея красивая. Осталось найти того, кто все сваяет. Чтоб setup.exe, дальше, дальше, и все работает без настроек …