Search found 45 matches

by antipiot
Tuesday 04 February 2020 19:51
Forum: Blockly
Topic: Use Scene values on blocky
Replies: 0
Views: 265

Use Scene values on blocky

Hello everybody! Running domoticz on Version: 4.10717 raspberry pi looking for help: I have a FIBARO System FGKF601 Keyfob+ already added to my domoticz and have actually all the 6 buttons working with simple click. I would like to use the control scene to use single clik - double click - triple ...
by antipiot
Thursday 28 November 2019 23:23
Forum: Device information
Topic: Z-Wave factfile Eurotronic Spirit Z-Wave+ radiator thermostat controller
Replies: 56
Views: 20970

Re: Z-Wave factfile Eurotronic Spirit Z-Wave+ radiator thermostat controller

Hello Mates!

I'm having some questions you may help to answer:

1: Do i need to edit some XML on latest stable?

2: i have floor heat, so the knobs are not in the room to control: may i direclty control the % of open/close without using setpoint on the device?

Thanks for your answers!
by antipiot
Saturday 28 September 2019 10:18
Forum: Python
Topic: Python plugin: Sony Bravia TV
Replies: 205
Views: 44706

Re: Python plugin: Sony Bravia TV

alarm_guy1 wrote: Saturday 28 September 2019 9:59 I know this is an old thread and Github declares this as "No longer maintained", however does anyone know in Blockly how to change the source.

I have as per the attached image and it wont change the input.

cheers
Hey!

Use the level of the switch to achieve this :-)
by antipiot
Friday 18 January 2019 18:17
Forum: dzVents
Topic: Push on button increments selector Value script
Replies: 1
Views: 498

Push on button increments selector Value script

Hello everybody! Do some of you know enough about scripting to help me on this? Situatation: I have a Z-wave wirelesse remote which only send ON value. Want to use it to switch LED color afer every push: flow will be like OFF -> 10 -> 20 -> 30 -> OFF I want that after every ON received, the value of ...
by antipiot
Tuesday 02 October 2018 17:46
Forum: Python
Topic: Python plugin: Sony Bravia TV
Replies: 205
Views: 44706

Re: Python plugin: Sony Bravia TV

Hello Everybody! Just installed this plugin on latest stable: My TV is a Sony KD-60XF8305 Everything connects fine and every control i've tested so far work but...... when i shutdown TV using plugin: i can't power it ON back using domoticz; remote control immediately wake the TV back. Here's what i ...
by antipiot
Sunday 17 June 2018 14:51
Forum: Bash / PowerShell / Batch etc.
Topic: Command line to send mail
Replies: 1
Views: 1150

Command line to send mail

Hello everybody :-) I'm looking for a command line to send an email in a bash script: I guess it may looks like "mail to:[email protected] subject: script status ect... Is there a way to achieve this as i already have mail notification setted up and working in domoticz? Thanks for your help and ...
by antipiot
Thursday 17 May 2018 18:11
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

Solved! YAY!!!! Had to to with keys like @heggink pointed me: Working command ignore keys as suggested in: https://www.cyberciti.biz/faq/noninteractive-shell-script-ssh-password-provider/ This can now be used on a raspberry to shutdown moode audio player with a script using sshpass: #!/bin/bash ...
by antipiot
Thursday 17 May 2018 15:11
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

here is a link (I think I used it myself): https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ or another one http://www.linuxproblem.org/art_9.html Be aware that you need to do this for every user that uses ssh so if domoticz runs as a daemon, 1) generate the keys as ...
by antipiot
Wednesday 16 May 2018 20:37
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

That look all good. What about adding sudo at the beginning of the commandline in the bash file to see whether that fixes it? Jos Still no luck: #!/bin/bash sudo sshpass -p "password" ssh [email protected] bash /var/local/www/commandw/restart.sh "reboot" > /dev/null 2>&1 &
by antipiot
Wednesday 16 May 2018 20:25
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

Just SSH into your PI, cd to the correct directory and do: ls -l Show the output line for the script. Jos ps: Doing well ;) Here you go, thanks for your time :-) Don't think it's right related: i've read somwhere that this problem may be caused by domoticz being executed as root or something like ...
by antipiot
Wednesday 16 May 2018 20:19
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

Just SSH into your PI, cd to the correct directory and do: ls -l Show the output line for the script. Jos ps: Doing well ;) Here you go, thanks for your time :-) Don't think it's right related: i've read somwhere that this problem may be caused by domoticz being executed as root or something like ...
by antipiot
Wednesday 16 May 2018 20:09
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

I had a similar situation where I run scripts on another system from ssh. I didn't want to use password stuff so generated keys so I coukd just ssh with no questions asked (not very secure but I rely on nobody being able to break into my network). It worked from the regular user but not from the ...
by antipiot
Wednesday 16 May 2018 20:03
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

Re: bash - Error 512 - Script works with ssh but not in event or Switch

Have you checked the execute bit for the file? Jos Hello Jos, How are you? Thanks for your help: I was able to get another step forward: Had to save my script in a notepad and importing it in domoticz (notepad ++ didn't worked) No more error (YAY) now but script still doesen't work from an event or ...
by antipiot
Wednesday 16 May 2018 17:50
Forum: Bash / PowerShell / Batch etc.
Topic: SOLVED bash - Error 512 - Script works with ssh but not in event or Switch
Replies: 13
Views: 4506

SOLVED bash - Error 512 - Script works with ssh but not in event or Switch

Hello mates :-) I'm facing a problem to use a script in an event: My script works when the line is issued in terminal ssh but now when run from a switch or event: Domoticz is in latest stable. Script has been chmoded. My script is used to: SSH from domoticz PI into my PI network player then shut it ...
by antipiot
Sunday 22 April 2018 10:52
Forum: LUA
Topic: Help appreciated: LUA script enhancement
Replies: 0
Views: 638

Help appreciated: LUA script enhancement

Hello everybody! I may need assistance: I took the lua script for the onkyo plugin and tried to modify it to fit my needs to use my pionner AMP: Same instrutions: working as it should: https://www.domoticz.com/wiki/Onkyo 3 Cans somebody knowing LUA read this and correct it if it's bad? :-) I wanted ...
by antipiot
Sunday 08 April 2018 19:21
Forum: Show your projects
Topic: Home Theatre Controller (Pioneer AVR + USB PowerMate)
Replies: 206
Views: 50417

Re: Home Theatre Controller (Pioneer AVR + USB PowerMate)

Hello all!

Does any of you have experience or informations about the pioneer SX-S30DAB?

Can it be used with your script? or the scripte plugin manager?
by antipiot
Thursday 01 March 2018 15:44
Forum: Suggestions
Topic: Enhancement - Specify GCM destination
Replies: 3
Views: 814

Re: Enhancement - Specify GCM destination

Hello,

sorry for my late answer; i did not searched further for this:
Nice informations you got there tho, looking forward for this to work :-)
by antipiot
Monday 12 February 2018 18:20
Forum: LUA
Topic: Question about LUA and Help to build Lua script
Replies: 9
Views: 1442

Re: Question about LUA and Help to build Lua script

Hello :-)

Tried the script and i got an error in log:

2018-02-12 18:16:32.283 Error: EventSystem: in Wallmote: [string "-- Device Last Updates..."]:13: bad argument #1 to 'sub' (string expected, got nil)
by antipiot
Monday 12 February 2018 11:16
Forum: LUA
Topic: Question about LUA and Help to build Lua script
Replies: 9
Views: 1442

Re: Question about LUA and Help to build Lua script

Not sure about the color but you can set brightness like this: commandArray["Lum. Bureau"]="Set Level 100" If you look at the script above you would just replace the commandArray on / off sections with the above line and the brightness level you want. Here is a very very simple complete Lua script ...
by antipiot
Monday 12 February 2018 10:37
Forum: LUA
Topic: Question about LUA and Help to build Lua script
Replies: 9
Views: 1442

Re: Question about LUA and Help to build Lua script

Many thanks for this! 8-) I'll try and learn from it. Thing is: I can already toggle the light using blocky events. The interesting part for me was to be able to set anything like brighness or color to something :oops: Is there a way in LUA to set brightness or color for a device instead of "on" or ...