Search found 5 matches

by timberwolf
Monday 03 August 2020 0:58
Forum: Suggestions
Topic: LoRa
Replies: 25
Views: 10660

Re: LoRa

Are there any plans to implement sending commands to the Things Network? I would love to be able to set switches in my device from Domoticz.

/Magnus
by timberwolf
Wednesday 03 January 2018 15:39
Forum: Python
Topic: Python Plugin: Samsung TV
Replies: 176
Views: 52001

Re: Python Plugin: Samsung TV



So i copied the samsungctl to the suggested directories and the initial error disappeared. Now i get this error instead when i try to add the Samsung TV hardware:

2018-01-03 12:09:48.985 Error: () [b]failed to load 'plugin.py'[/b], Python Path used was ':/usr/lib/python3.4/:/usr/lib/python3.4 ...
by timberwolf
Wednesday 03 January 2018 12:18
Forum: Python
Topic: Python Plugin: Samsung TV
Replies: 176
Views: 52001

Re: Python Plugin: Samsung TV


@timberwolf
this is due to the fact you have more than one python version on your system.
if you take a look at your error :

2017-12-30 11:07:42.967 Error: (tv) Module Import failed, exception: 'ImportError'
2017-12-30 11:07:42.967 Error: (tv) Module Import failed: ' Name: samsungctl

python ...
by timberwolf
Saturday 30 December 2017 11:17
Forum: Python
Topic: Python Plugin: Samsung TV
Replies: 176
Views: 52001

Re: Python Plugin: Samsung TV

One more installation problem...

I have got the plugin working from the command line. In the hardware list i can add the Samsung TV, but i don't get any settings fields.

When i add the hardware i get this in the log:

2017-12-30 11:07:42.967 Error: () failed to load 'plugin.py', Python Path used ...
by timberwolf
Wednesday 27 December 2017 20:58
Forum: Python
Topic: Running python scripts with external libraries
Replies: 5
Views: 2339

Running python scripts with external libraries

I have this strange situation that probably has a simple solution. I want to run the following script (script_time_alarm.py):

import DomoticzEvents as DE
import verisure

session = verisure.Session('email', 'password')
session.login()
armstate = session.get_arm_state()
session.logout()
print ...