Search found 34 matches

by molnaratti
Wednesday 11 November 2020 8:51
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 86
Views: 32389

Re: Ring 2 Doorbell

I had some time to deal with it, but I didn’t have much success either. If I am logged in on the phone, it doesn't matter if I try plugin.py with the shared or original user, if I start the phone application, the python will die. pi@raspberrypi:~ $ sudo service ring status ● ring.service - My Script ...
by molnaratti
Sunday 08 November 2020 13:24
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 86
Views: 32389

Re: Ring 2 Doorbell

Hello, I have now bought the Ring 3! Could someone write step by step instructions on how to set up the bell in domoticz? Thank you so much! I also use the python plugin written above with Ring 3 doorbells. Unfortunately, I don’t have time for how to make a description yet. If you get stuck I'll t ...
by molnaratti
Sunday 08 November 2020 13:22
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 86
Views: 32389

Re: Ring 2 Doorbell

Hi, I'm still getting: requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: https://api.ring.com/clients_api/snapshots/timestamps?api_version=9 Do i need to update something or enable something at ring? Peter You have shared very little information. Did you do the suggested ...
by molnaratti
Saturday 07 November 2020 9:28
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 86
Views: 32389

Re: Ring 2 Doorbell

I rewrote it a bit so it works for me: #!/usr/bin/env python from ring_doorbell import Ring, Auth from time import sleep from oauthlib.oauth2 import MissingTokenError from pathlib import Path import urllib.request as urllib2 import json import logging import base64 #import base64.encodestring as ...
by molnaratti
Friday 23 October 2020 19:54
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 45181

Re: Python Plugin: LG Smart AC (SmartThinQ)

Do you plan to support washer and dryer ? I can see them with https://github.com/gladhorn/wideq/tree/api2_merged and it works. this is the command i used to register python3 example.py -c CA -l en-CA this is the washing machien when using it [code] "washerDryer": { "extraRinse": "EXTRARINSE_OFF ...
by molnaratti
Friday 29 May 2020 13:06
Forum: dzVents
Topic: roborock dzvents problem [Solved]
Replies: 6
Views: 1733

Re: roborock dzvents problem [Solved]

You are brilliant! Works, thank you very much :)
by molnaratti
Friday 29 May 2020 8:10
Forum: dzVents
Topic: roborock dzvents problem [Solved]
Replies: 6
Views: 1733

Re: roborock dzvents problem [Solved]

I replaced it with the modified line. Unfortunately, it doesn't work. 2020-05-29 08:07:03.639 Error: dzVents: Error: (3.0.7) An error occurred when calling event handler roborock 2020-05-29 08:07:03.639 Error: dzVents: Error: (3.0.7) .../domoticz/scripts/dzVents/generated_scripts/roborock.lua:93 ...
by molnaratti
Thursday 28 May 2020 12:58
Forum: dzVents
Topic: roborock dzvents problem [Solved]
Replies: 6
Views: 1733

Re: roborock dzvents problem [Solved]

thanks for the reply, helped with the amendment. He was replaced by another. Are there so many changes in the code, or is the script just not right? It's okay either, but in this case I'll stay on the stable branch. 2020-05-28 08:22:17.745 Error: dzVents: Error: (3.0.7) An error occurred when ...
by molnaratti
Wednesday 27 May 2020 19:22
Forum: dzVents
Topic: roborock dzvents problem [Solved]
Replies: 6
Views: 1733

roborock dzvents problem [Solved]

I've received the following error message since the last beta update (Domoticz2020.2 (build 12086): 2020-05-27 18:27:07.780 Error: dzVents: Error: (3.0.7) An error occurred when calling event handler roborock 2020-05-27 18:27:07.780 Error: dzVents: Error: (3.0.7) /home/pi/domoticz/dzVents/runtime ...
by molnaratti
Monday 11 May 2020 18:10
Forum: Zigbee
Topic: Aqara Air Conditioning (HUB) lumi.acpartner.v3 doesn't work.
Replies: 2
Views: 1630

Re: Aqara Air Conditioning (HUB) lumi.acpartner.v3 doesn't work.

i know i don't support it unfortunately.
by molnaratti
Friday 24 April 2020 10:58
Forum: dzVents
Topic: nighttime not working [Solved]
Replies: 8
Views: 1240

Re: nighttime not working [Solved]

Thank you waaren!

Your code is working flawlessly. With that in mind, I will review the others as well.
by molnaratti
Wednesday 22 April 2020 14:02
Forum: dzVents
Topic: nighttime not working [Solved]
Replies: 8
Views: 1240

Re: nighttime not working [Solved]

Interestingly, only new dzvents scripts do not take the nighttime switch into account. The problems came when updating to the new stable, now I switched to devel branch but it didn't solve. Maybe I don't understand the intention of the script correctly. Can you describe in words what you expect the ...
by molnaratti
Wednesday 22 April 2020 13:02
Forum: dzVents
Topic: nighttime not working [Solved]
Replies: 8
Views: 1240

Re: nighttime not working [Solved]

Thanks for the help. Unfortunately, "every minute at nighttime" and "at sunset" doesn't work either. Domoticz2020.1 (build 11835) Checked this again but it is working as expected. Are you sure Eventsystem and dzVents are enabled ? I tested with the script below so you should see lines in the log ...
by molnaratti
Monday 13 April 2020 14:26
Forum: dzVents
Topic: nighttime not working [Solved]
Replies: 8
Views: 1240

Re: nighttime not working [Solved]

Thanks for the help.
Unfortunately, "every minute at nighttime" and "at sunset" doesn't work either.

Domoticz2020.1 (build 11835)
by molnaratti
Monday 13 April 2020 13:51
Forum: dzVents
Topic: nighttime not working [Solved]
Replies: 8
Views: 1240

nighttime not working [Solved]

I want to turn on my outdoor lights at night. Unfortunately, for some reason, it always turns on, ignoring the 'at nighttime' option. What do I mess up? return { on = { timer = { 'at nighttime' }, devices = { 'terasz mozgas' } }, execute = function(domoticz, item) if (item.isTimer) then -- the timer ...
by molnaratti
Sunday 29 March 2020 19:01
Forum: Bash / PowerShell / Batch etc.
Topic: Script to restart Domoticz if it crashes
Replies: 199
Views: 125103

Re: Script to restart Domoticz if it crashes

Friend here is my take on this for Raspberry pi and Ubntu/debian systems I do not run on synology, sorry all documented in the code if you need positive confirmation, redirect the echo commands to /var/log/syslog hope someone benefits. #!/bin/bash ...
by molnaratti
Sunday 16 February 2020 19:03
Forum: dzVents
Topic: dzVents 3.0 released
Replies: 17
Views: 2799

Re: dzVents 3.0 released

I just updated, unfortunately I get this error message:
Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: /home/pi/domoticz/dzVents/runtime/EventHelpers.lua:462: bad argument #1 to 'for iterator' (table expected, got string)
by molnaratti
Sunday 09 February 2020 16:10
Forum: Others
Topic: Xiaomi Humidifier
Replies: 29
Views: 11854

Re: Xiaomi Humidifier

DCRM wrote: Saturday 08 February 2020 20:10 Hi! I'm mod this plugin
  • FIX! Work on windows and linux devices
    Add Russian translation
    Add Waterlevel sensor
    Add select model list (zhimi.humidifier.v1 / zhimi.humidifier.ca1 / zhimi.humidifier.cb1)
https://github.com/develop-dvs/domoticz-AirHumidifier2
Nice work! Thank you! :)
by molnaratti
Tuesday 11 December 2018 19:24
Forum: Others
Topic: Xiaomi Humidifier
Replies: 29
Views: 11854

Re: Xiaomi Humidifier

Any way to incorporate the water level in the tank? (depth attribute) /usr/local/bin/miiocli airhumidifierca1 --ip --token status Power: on Mode: OperationMode.Auto Temperature: 20.2 °C Humidity: 47 % LED brightness: LedBrightness.Dim Buzzer: False Child lock: False Target humidity: 70 % Trans ...