Search found 57 matches

by Kouseri
Friday 16 August 2024 19:17
Forum: Python
Topic: Working "Presence Detection" for Python 3 Script
Replies: 10
Views: 3202

Re: Working "Presence Detection" for Python 3 Script

The line is : base64string = base64.encodestring(('%s:%s' % (domoticzusername, domoticzpassword)).encode()).decode().replace('\n', '') I faced the same issue and it looks like the base64.decodestring() function has been deprecated since Python 3.1, and removed in Python 3.9 https://stackoverflow ...
by Kouseri
Sunday 15 November 2020 10:42
Forum: Z-Wave
Topic: Aeotec Alarm 6 and Doorbell 6
Replies: 93
Views: 21849

Re: Aeotec Alarm 6 and Doorbell 6

I finally managed to get all the "devices" associated with my Siren 6, quite painful to get there but here I am but another road block now, i want to make it "ring" when my motion sensor trigger an event, the event trigger is working well but in the event config i try all parameters and can't find ...
by Kouseri
Monday 13 April 2020 9:09
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

timop can you provide all the user variables regarding to the car heating scripts and their contents (type and value) for me please (Setup -> More options -> User variables)?
by Kouseri
Tuesday 08 November 2016 21:19
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

Thanks for the more information. What runInterval value are you using? With default value (150s), script runs on every third minute which means that you will the most probably miss timing conditions if switchOnWindow = 1. Please test the script with default switchOnWindow = 5 value (remember to set ...
by Kouseri
Monday 07 November 2016 19:04
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

So should lua scipts be like with name script_time_autolammitys or does it matter because name of switch is in lua script? It doesn't matter what is the latter part of the script's name after second underscore. So script_time_autolammitys should be ok. What kind log messages script prints to the ...
by Kouseri
Sunday 06 November 2016 17:59
Forum: LUA
Topic: Events not working after update to 3.5837
Replies: 25
Views: 7517

Re: Events not working after update to 3.5837

The latest beta fixed lua related issues I encountered with the 3.5837 release.
by Kouseri
Sunday 06 November 2016 10:22
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

Winter surprised me :) I try to get work carheater lua scripts, and should this be the name of hardware of weather undergound device or some device under that? wundergroundName = "Säätila - Yleinen" -- Name of Wunderground "device" That's normal at least in Finland and happens every year... :lol: ...
by Kouseri
Monday 03 October 2016 18:48
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

Well done! No problem, it was great that I was able to help you and you managed to overcome the issues.

Of course you could propose if user variable updating could be added to some existing iOS Domoticz app... ;-)
by Kouseri
Sunday 02 October 2016 15:34
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

Good work! :D Function tempFromWunderGround reads Wunderground data, converts it to weather variables and returns temperature. So if you have own thermometer then the tempFromWunderGround function is not needed. Instead you need to read temperature from your own thermoter and use it in the script ...
by Kouseri
Sunday 02 October 2016 10:35
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

Execution of the script is terminated because there is a problem in line 36. That's the reason why you don't get any extra information even though you've set degug to true. Based on the log output, lastRunTime variable contains "nil" value ( Lua uses nil as a kind of non-value, to represent the ...
by Kouseri
Friday 30 September 2016 20:45
Forum: Show your projects
Topic: Home automation/surveillance system
Replies: 31
Views: 12564

Re: Home automation/surveillance system

It's still pretty warm (+14 degC) in southern Finland but it won't take long before the car heating session starts... :D Documentation about months when the script runs is a bit poor but you noted well how to change the months. It looks like you have done what is needed to run the script. The script ...
by Kouseri
Monday 15 August 2016 12:24
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 142900

Re: [90] MQTT Support

Twinsen wrote:How can I publish some information on domoticz/out when a device (Temperature and Humidity) is updated?
I search on wiki but without success ...
I'm using a lua script to publish needed events from the Domoticz. The script can be found from here.
by Kouseri
Tuesday 09 August 2016 18:30
Forum: Show your projects
Topic: Oil level monitoring system
Replies: 8
Views: 6374

Re: Oil level monitoring system

How is this project going? I ordered a cheap dvb-t receiver to receive data from my Apollo smart and i see support has been added to Domoticz for tank capacities and moisture measurements (as of a recent beta anyway). This project has been in "production" already about 6 months and has been working ...
by Kouseri
Saturday 30 July 2016 14:08
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 650658

Re: Domoticz app 2.0

galadril wrote:
packstlaurent wrote:Is it possible to edit variable from application?
No not yet
Is this feature (modification of user variables from the app) already in the roadmap?
by Kouseri
Saturday 30 July 2016 14:05
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 142900

Re: [90] MQTT Support

Hi all - i'm interested in the concept of event-driven notifications, but i've a stupid Q (and the forum doesn't let me search on 3 letter-words!) - if i post an update from a 3rd party h/w to MQTT on say a switch state change (on/off), do I need to then write more code to identify and obtain the ...
by Kouseri
Sunday 05 June 2016 13:28
Forum: Windows
Topic: Ticz - Another Domoticz app for Windows 10 / UWP
Replies: 44
Views: 25898

Re: Ticz - Another Domoticz app for Windows 10 / UWP

v1.9.2.0 is currently being pushed to the Store Support for Variables is added . You will find an icon like 'Aa' next to the Camera icon in the Menu, which will show your list of variables and their current value. You can update them with a new value, and a response will be given if the change was ...
by Kouseri
Tuesday 31 May 2016 9:28
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 142900

Re: [90] MQTT Support

woody4165 wrote:What do you mean by virtual sensor that receive incoming Mqtt data?
Should I send instead mqtt message that contains what I can do with htto/json?
I meant that you should create a virtual sensor(s) first and use the IDX(s) of the created sensor(s) in MQTT messages.
by Kouseri
Monday 30 May 2016 20:45
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 142900

Re: [90] MQTT Support

What I have to put into Remote Address and Port? And where I can choose username and password in my configuration? If MQTT server is running in a same computer with the Domoticz then you should use following: Remote address = 127.0.0.1 Port = 1883 Of course you need to create a virtual sensors ...
by Kouseri
Thursday 26 May 2016 12:37
Forum: Windows
Topic: Ticz - Another Domoticz app for Windows 10 / UWP
Replies: 44
Views: 25898

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Thanks @hansworst from this great Windows 10 app. Based on my testing today, it seems to be working very well. I found a missing fire alarm icon and filled an issue to the Github . Thanks for fixing this one! 2. the refreshing pop up bar is very usefull but may by a smaller indicator is less ...
by Kouseri
Sunday 15 May 2016 17:16
Forum: Others
Topic: KD-101 (KD101) smokedetectors
Replies: 12
Views: 10579

Re: KD-101 (KD101) smokedetectors

tmelon wrote:Look at Damien's website with step by step guide :

http://mydomotic.blogspot.co.uk/2015/09 ... ystem.html
Thanks for the tip. Now my KD-101 stays on as long as alarm siren is enabled.