Search found 17 matches

by Philosifer
Thursday 14 December 2023 17:13
Forum: Suggestions
Topic: [667] Ability to execute script:/// from Blocky
Replies: 29
Views: 17173

Re: [667] Ability to execute script:/// from Blocky

I have this problem V2022.2 still. Weirdly I have two scripts and one works fine and the other gets the # added on the end and fails. The only difference in the text is one ends in off.sh and works fine and the other ends in on.sh and gets the # added. I've tried removing and re-adding the broken ...
by Philosifer
Saturday 30 January 2016 21:16
Forum: Z-Wave
Topic: Fibaro Motion Sensor Unknown
Replies: 42
Views: 14247

Re: Fibaro Motion Sensor Unknown

This is all somewhat new to me. I'm only a couple of weeks ahead of you by the look of it. Take a look at that file and you'll find it fairly straight forward. As new device versions come out they sometimes change the id numbers and need updating in openzwave and therefore in domoticz. You might ...
by Philosifer
Saturday 30 January 2016 18:21
Forum: Z-Wave
Topic: Fibaro Motion Sensor Unknown
Replies: 42
Views: 14247

Re: Fibaro Motion Sensor Unknown

Looks like you might have a new version of Z-Wave.Me that Domoticz doesn't know about. I just checked mine which is on the latest build 4351 and there's no type 0400 id 0002 entry for it only 0400 0001 You could test the theory by adding a new line for it to your domoticz/Config/manufacturer ...
by Philosifer
Wednesday 27 January 2016 22:03
Forum: Suggestions
Topic: Turn notification button off in virtual devices
Replies: 4
Views: 1036

Re: Turn notification button off in virtual devices

Ah that make sense. Yes that's exactly why I want to do it. :D

No big deal though. I can just add another block to my Lua script that runs every minute to check it.

Not ideal but it will avoid triggering for brief power blips I suppose
by Philosifer
Wednesday 27 January 2016 21:43
Forum: Suggestions
Topic: Turn notification button off in virtual devices
Replies: 4
Views: 1036

Re: Turn notification button off in virtual devices

Do virtual devices notify or not then? I agree if it doesn't then the option should be there.

The one on my Voltage device for my UPS doesn't do anything and i've wasted a lot of time testing it.
by Philosifer
Thursday 21 January 2016 19:49
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 75306

Re: Easy Sonos

I hadn't got the 3 wrapper scripts but I've just tried them and it didn't make any different. Tomorrow I'll see if I can put in some debug lines to find out what its trying to send to the Sonos. I suspect there's another component I need to install that's already bundled in for those of you using ...
by Philosifer
Tuesday 19 January 2016 23:56
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 75306

Re: Easy Sonos

I hadn't got the 3 wrapper scripts but I've just tried them and it didn't make any different. Tomorrow I'll see if I can put in some debug lines to find out what its trying to send to the Sonos. I suspect there's another component I need to install that's already bundled in for those of you using ...
by Philosifer
Tuesday 19 January 2016 18:01
Forum: Show your projects
Topic: Easy Sonos
Replies: 80
Views: 75306

Re: Easy Sonos

I'm struggling to get PHPSonos to work so I can use HansLe alarm script idea. Running on debian. I've installed apache, php5-curl and php5-cli. I can make the Sonos play with EasySonos like this <?php $IP_sonos_1 = "192.168.23.180"; require("sonos.class.php"); $sonos_1 = new SonosPHPController($IP ...
by Philosifer
Monday 18 January 2016 15:05
Forum: Blockly
Topic: blockly: user variable set for time, don't work?
Replies: 8
Views: 2857

Re: blockly: user variable set for time, don't work?

I've been struggling to get events that mention only user variables to trigger at all. Event that check changes of system states (e.g. security status) seem ok but if they only have user variables in the if clause they seem not to run. Maybe add a write to the debug log in your do clause to see if ...
by Philosifer
Thursday 14 January 2016 14:03
Forum: Z-Wave
Topic: Added Wenzhou TKB TZ68 On/Off Switch Socket
Replies: 17
Views: 8761

Re: Added Wenzhou TKB TZ68 On/Off Switch Socket

Opened openzwave ticket #741 to add this additional tz68 entry as it seems to work the same way from my testing.
by Philosifer
Wednesday 13 January 2016 14:45
Forum: Z-Wave
Topic: Added Wenzhou TKB TZ68 On/Off Switch Socket
Replies: 17
Views: 8761

Re: Added Wenzhou TKB TZ68 On/Off Switch Socket

Looking in the pepper database it seems there's two entries for a TZ68. One for 0101/0103 and one for 0003/0002.

I tried adding a line to my manufacturer_specific.xml for it but that didn't help so I suppose there's some other steps needed as well.
by Philosifer
Wednesday 13 January 2016 14:16
Forum: Z-Wave
Topic: Added Wenzhou TKB TZ68 On/Off Switch Socket
Replies: 17
Views: 8761

Re: Added Wenzhou TKB TZ68 On/Off Switch Socket

Is this xml supposed to give me a configuration option for the TZ68? I just got one from vesternet and Domoticz 4031 added it as a Wenzhou TKB Control System Unknown: type=0003, id=0002 No options listed below that in the configuration pane. I checked my openzwave config and I do have the tx68 xml ...
by Philosifer
Sunday 10 January 2016 11:45
Forum: LUA
Topic: Problem passing variables to UpdateDevice
Replies: 8
Views: 3772

Re: Problem passing variables to UpdateDevice

Ah. I figured out the problem. Sleeping on it apparently works :D Its because of some bad coding by me (of course) and what looks like an oddity in the way lua handles variables. My input file is some XML and having found the right line (below) with the string search <realtime><data realtime="temp ...
by Philosifer
Sunday 10 January 2016 11:03
Forum: LUA
Topic: Problem passing variables to UpdateDevice
Replies: 8
Views: 3772

Re: Problem passing variables to UpdateDevice

Hi Toulon

All the code is there. The extra line you might be seeing is a line from the domoticz log showing that the print command produces the correct output from the tempdevice variable

Or are you saying that there should be something after the return command?

Phil
by Philosifer
Saturday 09 January 2016 23:14
Forum: LUA
Topic: Problem passing variables to UpdateDevice
Replies: 8
Views: 3772

Problem passing variables to UpdateDevice

Hello folks I'm working on lua script to extract the current conditions from weewx and show them in Domoticz but I just can't work out how to pass variables to UpdateDevice. I'm sure I'm just missing a subtlety of lua's type handling. Here's the full script but the problem lines are at the bottom ...
by Philosifer
Friday 08 January 2016 21:45
Forum: Blockly
Topic: Blockly not running
Replies: 3
Views: 1430

Re: Blockly not running

Well spotted D'rMorris. You're right the variable is an Int and I have a string to compare to it :oops:

That fixed it thanks.

One of the problems with drag and drop is you don't have think so much about what you're doing.

Let's hope my next post is more challenging for you all :D

Phil
by Philosifer
Friday 08 January 2016 20:50
Forum: Blockly
Topic: Blockly not running
Replies: 3
Views: 1430

Blockly not running

Hello everyone, First post here as i've only been using Domoticz (2.4031) for a few days. I've built it on Debian linux (v8.2) following the wiki page instructions and managed to get OpenZWave working ok with a couple of Fibaro sensors but I'm struggling with Blockly. I have some Lua scripts running ...