Search found 23 matches

by mvroosmalen
Sunday 09 May 2021 14:47
Forum: Python
Topic: Unable to use WallBox python script from domoticz
Replies: 3
Views: 438

Re: Unable to use WallBox python script from domoticz

Nope...

The solution is:
#!/usr/bin/python3
import sys
try:
from wallbox import Wallbox
except ImportError:
sys.path.append('/home/pi/.local/lib/python3.7/site-packages')
from wallbox import Wallbox

import time

Thanks for the suggestion anyway

Mark
by mvroosmalen
Sunday 09 May 2021 13:28
Forum: Python
Topic: Unable to use WallBox python script from domoticz
Replies: 3
Views: 438

Unable to use WallBox python script from domoticz

Hi, I'm struggling with the WallBox python library when using from a script called from Domoticz. When I use the python3 script from terminal all works fine. This is what I've tried so far: * Create an bash to call the script /usr/bin/python3 /home/pi/domoticz/scripts/python/WallBox.py or Python3 ...
by mvroosmalen
Thursday 13 June 2019 16:36
Forum: Python
Topic: Python Plugin: Buienalarm (NL)
Replies: 8
Views: 3076

Re: Python Plugin: Buienalarm (NL)

Hi,

Did you change rights to 755 (execute) and restart domoticz?

Mark
by mvroosmalen
Monday 10 June 2019 15:23
Forum: Python
Topic: Python Plugin: Buienalarm (NL)
Replies: 8
Views: 3076

Re: Python Plugin: Buienalarm (NL)

Just tested the python plugin and when as described the plugin is placed in a folder in the plugin folder with (755) is appears after restart of domoticz in a few minutes in the hardware as buienalarm. On activation three new devices are created and every 5min these are updated depending on the ...
by mvroosmalen
Friday 01 February 2019 16:17
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 636675

Re: Domoticz app 2.0

After the recent update (0.2.78(5584)) the domoticz app is not working anymore. With debug on the app report connection OK and after 30sec or longer report a timeout. No switches etc. Before this version everything worked perfectly except when I had the update check on. This also caused delays and ...
by mvroosmalen
Wednesday 22 August 2018 15:28
Forum: 433 & 868 transceiver
Topic: Aluprof DC305A
Replies: 3
Views: 2612

Re: Aluprof DC305A

Yes it is I've tested it (Pro1) yesterday and the remote code is captured via the RFXManager, but the firmware is not supported in Domoticz. No clue why....As mentioned by others you can transmit via the learning steps. for example: https://ehoco.nl/elektrisch-rolgordijn-bedienen-domoticz If someone ...
by mvroosmalen
Monday 12 February 2018 11:59
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

Hi Edwin,

You miss the relevant files in /usr/local/share/lua/5.2. It should list:
socket
ssl
ansicolors.lua
JSON.lua
ltn12.lua
luacolors.lua
mime.lua
mobdebug.lua
socket.lua
ssl.lua

you could reinstall...

Mark
by mvroosmalen
Sunday 11 February 2018 18:59
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

still about the socket?? Please list the files found in /usr/local/share/lua/5.2 and dir below. It should list all the needed files...
by mvroosmalen
Wednesday 31 January 2018 19:52
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

You need to install the socket library and supporting code somewhere that Lua 5.2 can find.

It is explained on this page http://www.domoticz.com/wiki/Philips_Hu ... ng_Colours and the necassary supporting libraries are attached to the linked forum message.

Mark
by mvroosmalen
Sunday 28 January 2018 11:05
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

Hi Mace, Google is your friend :-)..... https://www.domoticz.com/forum/viewtopic.php?t=8231 create a bash file pushbullet.sh: #!/bin/bash api=<Put_Your_API_KEY_HERE> title=$1 body=$2 curl -u $api: https://api.pushbullet.com/v2/pushes -d type=note -d title=$title -d body=$body and in the script: os ...
by mvroosmalen
Tuesday 23 January 2018 7:51
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

He mace,
In that case change then commandArray['SendNotification']=....... to code to only send to for example pushbullet or change settings.

s6

Mark
by mvroosmalen
Monday 22 January 2018 8:06
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

Change the Rain_alert=0.2 to a higher value.
Mark
by mvroosmalen
Saturday 30 December 2017 19:27
Forum: Show your projects
Topic: Is it gonna rain within the next X minutes?
Replies: 307
Views: 79549

Re: Is it gonna rain within the next X minutes?

Hi, after being unable to get info from the regular site, I decide to search for a website that would do the trick again and.. :-) its working again. Still not fully satisfied I made some changes to the original code. If you appreciate the changes, enjoy !!! I pasted the full code in this message ...
by mvroosmalen
Sunday 10 December 2017 18:13
Forum: Show your projects
Topic: Enigma 2 Set top Box Integration
Replies: 42
Views: 21691

Re: Enigma 2 Set top Box Integration

Hi Tried to install https://github.com/kofec/Domoticz-Enigma2, but Domoticz-Enigma2 is not present in the list of hardware??? Installed Python-3 (both) and tested with latest beta....3.8775. Any idea's?? The log doesn't show any errors or warnings. Its now visible as Enigma2 with kodi remote?? is ...
by mvroosmalen
Sunday 05 November 2017 11:15
Forum: Show your projects
Topic: Enigma 2 Set top Box Integration
Replies: 42
Views: 21691

Re: Enigma 2 Set top Box Integration

Thanks The problem is that Domoticz doesnot accept % in the UserVariables so I replaced the % by _ and using: TChannel = get(row[5],"e2servicename") TChannel=string.gsub(TChannel, "%%", "_") in the Enigma lua script. I need to change the script so it fill the UserVariables without %... Update: Added ...
by mvroosmalen
Saturday 04 November 2017 21:26
Forum: Show your projects
Topic: Enigma 2 Set top Box Integration
Replies: 42
Views: 21691

Re: Enigma 2 Set top Box Integration

Hi, I have two questions: 1) I want to use two lists, one for radio and one for TV. will this work? 2) within one of the programs a % sign is used and seems to block the system, is that seen before (maually entering this in variable is not allowed) (name is 100% TV) Hope you can help me out. Thanks ...
by mvroosmalen
Saturday 21 October 2017 19:20
Forum: dzVents
Topic: dzVents crashing Domoticz ?
Replies: 10
Views: 2192

Re: dzVents crashing Domoticz ?

Hi, I think its a general problem as I was playing with DzVents and noted the same problem: Error: EventSystem: Warning!, lua script ...domoticz/scripts/dzVents/runtime/dzVents.lua has been running for more than 10 seconds Removing all dzVents scripts doesn't resolve this issue. It seems that this ...
by mvroosmalen
Friday 29 September 2017 8:24
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 636675

Re: Domoticz app 2.0

I'm not experiencing the same... the app notifies me when I am leaving or comming in to an area. (At geofence you can turn this on or off: "Enable Notifications for Geofences") For a couple of days a saw that the app notifies me but sometimes not trigger the switch in Domoticz that is attached to ...
by mvroosmalen
Sunday 29 January 2017 19:01
Forum: Other questions and discussions
Topic: Omnik Export Script
Replies: 39
Views: 7579

Re: Omnik Export Script

Hi,

The error is related to indenting, see text file.

Mark
gen_string.txt
(706 Bytes) Downloaded 91 times
by mvroosmalen
Tuesday 24 January 2017 22:42
Forum: Other questions and discussions
Topic: Omnik Export Script
Replies: 39
Views: 7579

Re: Omnik Export Script

Hi, The following is missing in InverterMsg.py def generate_string(ser): ''' The request string is build from several parts. The first part is a fixed 4 char string; the second part is the reversed hex notation of the s/n twice; then again a fixed string of two chars; a checksum of the double s/n ...