Search found 6 matches

by PaulM
Thursday 14 June 2018 12:19
Forum: Suggestions
Topic: Fronter Silicion Radio (Aka Pinell-DAB-Radio)
Replies: 1
Views: 1111

Re: Fronter Silicion Radio (Aka Pinell-DAB-Radio)

Home Assistant has it also. If I could I would rewrite the .py file from HA but I can't... Maybe someone can rewrite this file?

https://github.com/home-assistant/home- ... silicon.py
by PaulM
Thursday 31 May 2018 15:58
Forum: LUA
Topic: HUE Power Usage & Energy Script
Replies: 13
Views: 11490

Re: HUE Power Usage & Energy Script

I get the following error:

Code: Select all

2018-05-31 15:57:16.803 Error: EventSystem: in hue_status_update_2.lua: [string "-- TRiXWood May 2016 ..."]:52: bad argument #1 to 'sub' (string expected, got nil)
Line 52:

Code: Select all

 year = string.sub(s, 1, 4)
Any clue how to solve this?
by PaulM
Thursday 31 May 2018 15:07
Forum: Other questions and discussions
Topic: Hue - Synology -error loading module 'socket.core'
Replies: 5
Views: 2461

Re: Hue - Synology -error loading module 'socket.core'

A bit late but I solved it for my situation: What I did: sudo apt-get install lua5.2 sudo apt-get install lua-socket sudo cp /usr/lib/i386-linux-gnu/lua/5.2/socket/core.so /usr/local/lib/lua/5.2/socket/ sudo cp /usr/lib/i386-linux-gnu/lua/5.2/socket/core.so /usr/local/share/lua/5.2/socket/ sudo cp ...
by PaulM
Tuesday 07 November 2017 12:28
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 28170

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

Right, I run the script now succesfully for 5 days. And I'm not quiet happy with it. Both for the android phone as for the iPhone I want to detect presence, I got a lot of false negatives. Am I the only person with this problem? And if so , how can I solve the false negatives? --Edit: Problem solved ...
by PaulM
Thursday 02 November 2017 9:57
Forum: Bash / PowerShell / Batch etc.
Topic: Presence detection using UniFi Controller (Ubiquiti Networks)
Replies: 49
Views: 28170

Re: Presence detection using UniFi Controller (Ubiquiti Networks)

I was looking for a script like this, super! I did everyting as mentioned but when I run the script i got the following error: unifi-detect.sh: 7: unifi-detect.sh: Syntax error: "(" unexpected I really has no idea. Is the problem in line 7? numProcs=( $status ) Who can point me in the right ...
by PaulM
Thursday 28 January 2016 12:47
Forum: Others
Topic: Mi-Light / LimitlessLED / Applamp
Replies: 232
Views: 91139

Re: Mi-Light / LimitlessLED / Applamp

I've got a , in my eyes, strange problem. When I executed a command in putty on the command line, this will work. But when I put the same command in a file and try to execute the file, nothing happens. For instance: pi@raspberrypi ~/domoticz/scripts $ echo -n -e "\x40\x47" | nc -u -q 1 192.168.1.21 ...