Search found 15 matches

by zygios
Monday 04 September 2023 20:31
Forum: Zigbee
Topic: Zigbee2mqtt plugin configuration
Replies: 1
Views: 1266

Zigbee2mqtt plugin configuration

Hello,
After working on upgrade on Domoticz and Zigbee2Mqtt can run pluggin, error message:
Zigbee2MQTT: Initialized version 3.2.0-beta
2023-09-04 21:24:13.313 Zigbee2MQTT: Alias for handling linkquality(endpoint: n/a) feature of device 0xe0798fdsde57dbb3 already exists in plugin configuration but ...
by zygios
Sunday 11 December 2022 7:12
Forum: Heating/cooling
Topic: Smart heating control algorithm - new, open-source
Replies: 18
Views: 4943

Re: Smart heating control algorithm - new, open-source

Hi,
Trying to use code, but getting error:
2022-12-11 08:10:00.647 Status: dzVents: Info: ------ Start internal script: Floor_heat_alg:, trigger: "every 5 minutes"
2022-12-11 08:10:00.650 Status: dzVents: Info: #### Heating control
2022-12-11 08:10:00.657 Status: dzVents: Info: Heating params ...
by zygios
Tuesday 04 May 2021 19:45
Forum: Third party and supplementary tools
Topic: Control a garage port with Arduino via Domoticz
Replies: 8
Views: 6997

Re: Control a garage port with Arduino via Domoticz

You need Arduino with Ethernet shield + Relay or more simple would be to buy ESP8266 and connect relay (on ESP8266 install espeasy firmware with works perfectly with Domoticz.
by zygios
Thursday 13 February 2020 9:45
Forum: dzVents
Topic: Blynk to Domoticz [Solved]
Replies: 4
Views: 1929

Re: Blynk to Domoticz [Solved]

Hi,
You can try to do with Lua script:

commandArray = {}

local dom_idx = 10 //device idx in domoticz
local API_URL = 'http://blynk-cloud.com/***MyAuthToken***/get/V10'
local config=assert(io.popen('curl "'..API_URL..'"'))
local RAWdata = config:read('*all')
print(RAWdata)
config:close()

local ...
by zygios
Thursday 11 April 2019 12:01
Forum: dzVents
Topic: multiple textlines in textdevice
Replies: 10
Views: 1595

Re: multiple textlines in textdevice

Try this:

limit_max = 4
temp_stastus = ''
m = 1

currentstatus = domoticz.devices('Status').state

--removing 5-th status
for i in string.gmatch(currentstatus, "[^\r\n]+") do
print(i)
if m <=4 then
temp_stastus = temp_stastus .. i.. "\r\n";
m = m + 1
end
end

newstatus = 'Woonkamer lampen ...
by zygios
Thursday 11 April 2019 11:41
Forum: dzVents
Topic: multiple textlines in textdevice
Replies: 10
Views: 1595

Re: multiple textlines in textdevice

try this code:

Code: Select all

limit_max = 5

for m = 1, limit_max do
	currentstatus = domoticz.devices('Status').state ..'\r\n'
	newstatus = 'Woonkamer lampen sfeervol ingeschakeld'
	currentstatus = newstatus .. ';\r\n'..currentstatus ..'\r\n' 
	m = m + 1
end
domoticz.devices('Status').updateText(currentstatus)
by zygios
Thursday 11 April 2019 8:50
Forum: dzVents
Topic: multiple textlines in textdevice
Replies: 10
Views: 1595

Re: multiple textlines in textdevice

Hi,
I'm using this:

Code: Select all

 departimestext = departimestext .. ' '..departime ..';\r\n'
 
and result for text device is next:
Status: 08:21:24
08:23:30
08:29:00

You get check in my GIT:
https://github.com/zygios/Domoticz_scri ... nsport.lua
by zygios
Sunday 10 February 2019 19:39
Forum: Dashticz
Topic: Dashticz - Translations - NEW LANGUAGES WANTED!
Replies: 36
Views: 37381

Re: Dashticz - Translations - NEW LANGUAGES WANTED!

Hi, I can translate to Lithuania language.
by zygios
Monday 04 February 2019 19:48
Forum: Python
Topic: Python Plugin: Shelly MQTT
Replies: 504
Views: 125722

Re: Python Plugin: Shelly MQTT

I'm running on ARMBIAN 5.60 stable Ubuntu 18.04.1 LTS 4.14.84-sunxi
Python 3.6.7 version.

Mqtt:
MQTT Client Gateway with LAN interface 192.168.6.40 1883
Shelly MQTT 192.168.6.40 1883
Shelly 2 with The current Firmware version of your Shelly device is 20190122-162045/v1.4.5@5cbc6229 No newer ...
by zygios
Monday 04 February 2019 19:01
Forum: Python
Topic: Python Plugin: Shelly MQTT
Replies: 504
Views: 125722

Re: Python Plugin: Shelly MQTT

Hi,
Maybe someone can help me with Shelly 2 and Shelly MQTT plugin.
On my Domotincz I already have Device MQTT Client Gateway with LAN interface switch send/receives information from DIY devices.
I installed Shelly MQTT plugin and directed to same IP. After enabling Shellt MQTT Domoticz server crash ...
by zygios
Monday 28 January 2019 6:38
Forum: ESP8266
Topic: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)
Replies: 12
Views: 8526

Re: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)

Hi Mads,
Try to use next code:
if (client.connect(clientId.c_str(),"YourmqttuserName","YourmqttpassWord"))

Or define pass and user:

const char* mqtt_user = "xxxx";
const char* mqtt_pass = "123456";

if (client.connect(clientId.c_str(),mqtt_user, mqtt_pass)

by zygios
Saturday 26 January 2019 9:35
Forum: ESP8266
Topic: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)
Replies: 12
Views: 8526

Re: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)

Hi Mads,
You need to install Stepper2 library, in Arduino IDE:
https://github.com/zygios/ESP8266_autom ... r/Stepper2

Zygis
by zygios
Monday 21 January 2019 6:13
Forum: ESP8266
Topic: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)
Replies: 12
Views: 8526

Re: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)

Hi Mads,
You need to create Dummy Device -> add Switch -> need to change Switch Type to "Blinds percentage".
In my code need to modify next line:

Code: Select all

int Domoticz_IDX[] = { 35, 36 }; 
35 replace with Your created device ID.
by zygios
Thursday 17 January 2019 20:31
Forum: ESP8266
Topic: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)
Replies: 12
Views: 8526

Re: Esp8266 - > 28BYJ-48 - > ikea blinds (mqtt problems)

Hi,
Try to look into my GitHub:
https://github.com/zygios/ESP8266_AutoBlinds_MQTT_Domoticz
I was working on project ESP8266+stepper motor and Domoticz, but currently it's on hold, not implemented fully.
For my blinds motor 28BYJ-48 is not enough torque, so I'm waiting for Nema Stepper.

Domoticz by ...
by zygios
Saturday 01 December 2018 6:53
Forum: ESP8266
Topic: ESP32+ParadoxSP5500
Replies: 0
Views: 2040

ESP32+ParadoxSP5500

Hello,
I was working on small project and wanted to integrate Paradox SP5500 alarm system to my Domoticz.
Code seems to be working, Paradox using mqtt sending/receiving PIR/Siren, status to Domoticz sensors.
Additionally sending some information to Domoticz logs.
Code can be found it github:
https ...