Working with cron events

Планировщик времени для периодического выполнения заданий в определённое время.Генерирует событие в указанное время по формату Cron, полное описание можно посмотреть по ссылке https://ru.wikipedia.org/wiki/Cron Следует обратить внимание, что в данной прошивке используется дополнительное поле секунды, что вносит изменение в логику заполнения полей. Таблица crontab состоит из 6 колонок, разделяемых пробелами.Шесть колонок задают время выполнения (секунда, минута, час, день, … Read more

Working with the Dwin screen

(Page in progress) Dwin screens allow you to solve many problems of the interface and easy management of your systems.Creating an interface on the part of the DGUS program will be considered in passing as necessary. The main thing is the settings on the part of IoTmanager.This is not a manual for using Dwin screens, how to connect them, flash them, prepare the background and icons, and use the Dgus program. Here we will look at the nuances of interaction with … Read more

How do I manage events by time?

Один из способов управления событиями по времени. Запуск события в интервале с 8 утра и до 23 каждые 10 минут. Включается btn12 и индикация led. Стартует таймер обратной задержки на 60 секундif timer_l==0&getHours() > 07&getHours() <23&gethhmm() == «**:*1» then {btn12= 1; led =1; timerPump = 60} Выключение через 60 секунд по таймеру.if timerPump==0 then {led=0; btn12=0} Включение … Read more

Operation of countdown timers

The timer always subtracts and stores the number in itself. The goal is to get to zero. int-tick step 1 is equal to 1s. countDown-Start value ticker — 0 generate an event only when 0 is reached; 1 on each changesrepeat — 0 work out and stop. 1 restart on circulneedsave — for the future, the timer always starts with the countDown value and tends to … Read more

MCP23017 Port Expander

The MCP23017 digital port expander allows you to expand the number of system inputs/outputs. Each expander can add an additional 16 ports to the system. The connection is made via the I2C bus using SDA and SCL control signals.You can connect up to 4 modules, thereby expanding the number of system ports to 64 digital inputs/outputs.For proper operation of the system, you need to connect the SDA and SCL, they must be connected to the power supply on the module, if this is not the case, then pull them up … Read more

What should I do if it still doesn't work out

If after studying the documentation and looking at the FAQ, there is still no solution to your problem, do not panic.Telegram chat is created for discussion and support and you will definitely get help. To speed up and facilitate this process, ask the question correctly.In the question, it is advisable to specify the esp32/esp8266 4mb/esp8266 1mb chip type, firmware version, firmware method, and then a description of the problem.Please provide a screenshot of the settings and the script text., … Read more

What is an MQTT Broker and what are the recommended options?

In simple words, MQTT broker is a kind of cloud for IoT devices. It allows you to combine many IoT devices, possibly geographically dispersed, into a single information system.Some devices can publish, receive, or publish and receive information (topics) simultaneously. More details can be found here. Local installation: One of the most popular MQTT brokers is Mosquitto. It can be deployed on a single board such as raspberry pi … Read more

Pin control button (relay control)

One of the simplest modules. Designed to control the Gpio configured as an output. Created by selecting the appropriate item in the menu. Next, fill in the Gpio number and, if necessary, turn on the output inversion. This determines which High or Low signal will be on the given Gpio when it is activated.

Button (physically connected)

This module is used to describe the input button. This is about a Gpio configured as an input. Int-not used yet Pin-Gpio number for this input pinMode-can be INPUT_PULLUP INPUT_PULLDOWN INPUTdebounceDelay — bounce processing timeexeclevel — trigger level High or LowfixState-input behavior, triggered on transition or on level fixation (trigger mode) For understanding … Read more

How to raise your local MQTT broker

Instructions for any Linux system(x86, raspberries,oranges and other fruits, OpenWRT routers).We get access to the device's console(I won't describe it,Google will help).For systems based on Debian / Ubuntu, we take turns typing commands; 1. sudo-i #typing your password 2. apt update& & apt upgrade -y #updating the package list and updating the system 3. apt install mosquitto #by default, the configuration is located in /etc/mosquitto 4 nano / etc/mosquitto/conf. d / local.conf # creating … Read more

Supported the project — saved a DIY maker! And we accept gifts...

X