Search found 4 matches

by MnM001
Thursday 22 March 2018 1:44
Forum: Python
Topic: Python plugin: Kodi
Replies: 140
Views: 36038

Re: Python plugin: Kodi

Hi,

I have a few users/profiles on my kodi.
Any way to display who is logged in - perhaps in the status?

Cheers.
by MnM001
Thursday 15 March 2018 1:27
Forum: Bash / PowerShell / Batch etc.
Topic: pfSense Internet Usage and Bandwidth
Replies: 28
Views: 17557

Re: pfSense Internet Usage and Bandwidth

Hi guys looking for some help here.

Where I run the script I get:

./test.sh: line 19: /usr/bin/curl: Argument list too long
error : Unknown IO error

The script does log into my pfsense as I can see it in my logs.
DarkStat and Totals configured correctly.

I am a beginner with scripting so I will ...
by MnM001
Thursday 01 February 2018 3:23
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 102132

Re: TP-Link smart plug HS100/HS110

Hi,

Thanks for looking

Below are my lines from the script:

# ip, port, and command for HS110
ip = '192.168.0.151'
port = 9999
cmd = '{"emeter":{"get_realtime":{}}}'

# Domoticz command stub and IDx of HS110
baseURL = 'http://192.168.0.183:8080/json.htm?type=command&param=udevice&nvalue=0'
HSIdx ...
by MnM001
Wednesday 31 January 2018 4:01
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 102132

Re: TP-Link smart plug HS100/HS110

I am seeing some errors with the script.
I am running ubuntu with python 2.7:

path (tried from /home/domo same result)
/home/domo/domoticz/scripts

sudo ./H110.py

error

Traceback (most recent call last):
File "./H110.py", line 60, in <module>
jsonData = json.loads(result)
File "/usr/lib ...