Search found 31 matches

by Luxtux
Thursday 06 May 2021 13:18
Forum: Python
Topic: Domoticz crashes because of my script
Replies: 1
Views: 229

Re: Domoticz crashes because of my script

Hey, i changed my approach and now just put a timer on scene which resolves the issue for me. If anybody feel like telling me what i actually did wrong in the origninal idea; it would be appriciated. import Domoticz, DomoticzEvents as DEVS from datetime import datetime if '/home/domoticz/.local/lib ...
by Luxtux
Monday 03 May 2021 17:29
Forum: Python
Topic: Domoticz crashes because of my script
Replies: 1
Views: 229

Domoticz crashes because of my script

Hello, i'm teaching myself python and thought it would be a good learning experience to create a domoticz event script. The idea is when i update my phone's alarm settings, it automatically changes my Hue sunrise routine and change the timer on my bedroom shutter. My phone updates a uservariable ...
by Luxtux
Wednesday 10 March 2021 21:03
Forum: Python
Topic: Request Module Import Failing
Replies: 5
Views: 1091

Re: Request Module Import Failing

this is how i fixed the issue for future reference. import DomoticzEvents as DEVS from datetime import datetime if '/home/domoticz/.local/lib/python3.7/site-packages' not in sys.path : DEVS.Log('Path not found') sys.path.append( '/home/domoticz/.local/lib/python3.7/site-packages' ) else: DEVS.Log ...
by Luxtux
Wednesday 10 March 2021 19:14
Forum: Python
Topic: Request Module Import Failing
Replies: 5
Views: 1091

Re: Request Module Import Failing

This might explain it. when i print out the paths used by python in domoticz its different from the command line. These are the on the python command line as domoticz user : ['', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/domoticz/.local/lib/python3.7 ...
by Luxtux
Wednesday 10 March 2021 18:37
Forum: Python
Topic: Request Module Import Failing
Replies: 5
Views: 1091

Re: Request Module Import Failing

waltervl wrote: Wednesday 10 March 2021 17:10 Is your domoticz also running as root?
No of course not. :) when i run the pip3 list command as the Domoticz user, i get the same list as when i run it as root.
by Luxtux
Wednesday 10 March 2021 15:37
Forum: Python
Topic: Request Module Import Failing
Replies: 5
Views: 1091

Request Module Import Failing

Good afternoon, I'm trying to use python instead of lua in my latest automation script; so i can learn python. The entire example given when you select python is already generating errors. after some googling i figured out that the wrong module is imported. Now im trying to import the request module ...
by Luxtux
Tuesday 02 February 2021 10:34
Forum: Dashticz
Topic: Dashticz v3.7.3 beta
Replies: 93
Views: 7896

Re: Dashticz v3.7.3 beta

Hey, I updated to the latest beta and my garbage calendar became blank. i dont see any network traffic going to the ical callendar url. This config below has worked for months. any idea? blocks['Rubbish'] = { company: 'ical', icalurl: 'https://www.vdl.lu/fr/vivre/domicile-au-quotidien/collecter-et ...
by Luxtux
Monday 01 February 2021 18:19
Forum: Dashticz
Topic: Dashticz v3.7.3 beta
Replies: 93
Views: 7896

Re: Dashticz v3.7.3 beta

Hey, I updated to the latest beta and my garbage calendar became blank. i dont see any network traffic going to the ical callendar url. This config below has worked for months. any idea? blocks['Rubbish'] = { company: 'ical', icalurl: 'https://www.vdl.lu/fr/vivre/domicile-au-quotidien/collecter-et ...
by Luxtux
Sunday 17 January 2021 14:24
Forum: Python
Topic: Python Plugin: Dexcom Share API
Replies: 1
Views: 667

Python Plugin: Dexcom Share API

My girlfriend is diabetic and I wanted a way to connect her Dexcom G6 to my Domoticz instance. Which would allow me to switch on the lights in the middle of the night if her glucose levels were too low. Dexcom does offer a devellopers API but all the data is a few hours behind, which isnt any good ...
by Luxtux
Thursday 07 May 2020 13:30
Forum: Android
Topic: App Access
Replies: 3
Views: 2711

Re: App Access

ok after reading some more posts. i found that i was not forwarding login check. My apache configuration now looks like this ProxyPass /domoticz/logincheck https://domoticz/logincheck proxyPassReverse /domoticz/logincheck https://domoticz/logincheck ProxyPass /domoticz/json.htm https://domoticz/json ...
by Luxtux
Wednesday 06 May 2020 22:51
Forum: Android
Topic: App Access
Replies: 3
Views: 2711

Re: App Access

thank you for that but i would like to authorise the minimum amount of files to be shared with the outside world. is there some login page i need to make available?
by Luxtux
Wednesday 06 May 2020 22:00
Forum: Android
Topic: App Access
Replies: 3
Views: 2711

App Access

Good evening, In the last few days i'm unable to connect to my domoticz instance via the paid android app. Apparently im no longer allowed to used basic auth and need to use the logon page. this is an issue for my current set up <Location /domoticz/json.htm> AuthType Basic AuthName "Basic auth ...
by Luxtux
Sunday 11 March 2018 14:30
Forum: Dashticz
Topic: Dashticz - Module - Sonarr
Replies: 22
Views: 5415

Re: Dashticz - Module - Sonarr

I think the url you typed in your CONFIG.js file has a trailing slash. try this:

Code: Select all

vconfig['sonarr_url'] = 'http://192.168.1.4:8989';
I've created a pull request so that sonarr.js removes the trailing slash if needed
by Luxtux
Saturday 10 March 2018 23:53
Forum: Dashticz
Topic: Dashticz - Module - Sonarr
Replies: 22
Views: 5415

Re: Dashticz - Module - Sonarr

Hi Rick, In sonarr do you have anything listed in your calendar as upcoming in the next month? I'm assuming that for some reason the url generated is not getting any data. To troubleshoot the url generated can you add the following line of code to the file js/sonarr.js after line 57 var endDate ...
by Luxtux
Tuesday 23 January 2018 22:45
Forum: Dashticz
Topic: Dashticz - Module - Calendar
Replies: 459
Views: 108007

Re: Dashticz - Module - Calendar

Hey, Yesterday evening i pulled the latest beta from github and now my calendar stopped working. i first thought it might have been my ical file, so i copped the f1 ical mentioned 3 posts ago and i have the same issue. I'm getting the following error from the console: Cross-Origin Request Blocked ...
by Luxtux
Wednesday 03 January 2018 0:47
Forum: Dashticz
Topic: Dashticz - Module - Garbage collector
Replies: 959
Views: 137140

Re: Dashticz - Module - Garbage collector

I've created another pull request. so the scripts can assign garbagetypes to my city's ICAL file. I'm wondering if it maybe wouldnt be a better idea to have some config option for each type of garbage; instead of keep on adding different regex words for each language. I have one little issue that I ...
by Luxtux
Saturday 30 December 2017 2:22
Forum: Dashticz
Topic: Dashticz - Function - RGB-support
Replies: 46
Views: 9716

Re: Dashticz - Function - RGB-support

I noticed several issues with the last beta. when i leave RGB enabled, my browser freezes. this happens on my surface rt (internet explorer) and even on my desktop pc, when running in chrome or firefox. When I select a colour, the philips hue light strobes until it switches itself off or i click on ...
by Luxtux
Saturday 30 December 2017 1:06
Forum: Dashticz
Topic: Dashticz - Module - Sonarr
Replies: 22
Views: 5415

Re: Dashticz - Module - Sonarr

Sorry for the late reply. I've been busy lately :) I fixed the issue in my latest pull request
by Luxtux
Saturday 14 October 2017 12:03
Forum: Dashticz
Topic: Dashticz - Module - Sonarr
Replies: 22
Views: 5415

Re: Dashticz - Module - Sonarr

Hi,

Thank you. I hadn't installed the latest beta yet. I found the error and corrected it. Ive initiated a pull request on github. So when Rob accepts the change the problem should be solved.
have a nice day
by Luxtux
Saturday 02 September 2017 11:58
Forum: Dashticz
Topic: Dashticz - Module - Sonarr
Replies: 22
Views: 5415

Re: Dashticz - Module - Sonarr

I've pushed some new changes to the beta branch. You can now choose where the title is located by setting title_position to either left,top. blocks['sonarr']['title_position'] = 'left'; Another new option is to change the view of the module. instead of having the posters of the TV show showing, you ...