Search found 14 matches

by Rena
Sat 16 Jan 2016, 18:26
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

Now I have figured out how to solve it. Next problem. I need something that start up the binding on reboot and most important of all, runs in the background.

As soons as I have started the binding and shut down Putty. It stops working. How to solve this?
by Rena
Thu 14 Jan 2016, 20:07
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

Come on, help needed!
by Rena
Sun 13 Dec 2015, 17:44
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

I have made a Lua-script according to the example. At the moment I´m only interested if the alarm is ON or OFF so I can trigger a away-scenario. Does the script look OK? commandArray = {} logging = true if (uservariablechanged['G_SPC_AREA_MODE_1'] == 'unset') then commandArray['House Alarm Set/Unset...
by Rena
Wed 09 Dec 2015, 08:32
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

ok so you now have all your spc alarm statuses in Domoticz as variables and can see them on the user variables page. If you want to see them on the dashboard, you will need to setup dummy switches and dummy pir switches in domoticz and use a lua script to update them based on the user variable stat...
by Rena
Tue 08 Dec 2015, 17:35
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

My config.json looks like this. HC2-user is the same as Domoticz user? Anything that looks wrong? { "spc_gw_host":"localhost", "spc_gw_port":"8088", "spc_ws_user":"pi", "spc_ws_password":"rena4747", "spc_get_user":"pi", "spc_get_password":"rena4747", "hc2_user":"<rena>", "hc2_password":"<rena4747>"...
by Rena
Mon 07 Dec 2015, 17:14
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

My config.json looks like this. HC2-user is the same as Domoticz user? Anything that looks wrong? { "spc_gw_host":"localhost", "spc_gw_port":"8088", "spc_ws_user":"pi", "spc_ws_password":"rena4747", "spc_get_user":"pi", "spc_get_password":"rena4747", "hc2_user":"<rena>", "hc2_password":"<rena4747>",...
by Rena
Mon 07 Dec 2015, 15:08
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

fergalom wrote:There is a problem with your config.json file, check the file
OK, then I have to check the file and compare it with the default file.
by Rena
Sat 05 Dec 2015, 10:17
Forum: Home Automation Bindings
Topic: Binding to Domoticz
Replies: 33
Views: 19779

Re: Binding to Domoticz

Hi, Totally newbie to Rasp, but have managed to install both Domoticz and Web gateway. After installing the binding and trying to start it, i got the following error. pi@raspberrypi ~/node-spc-domoticz-binding $ sudo ./node-spc-domoticz-binding.js module.js:489 throw err; ^ SyntaxError: /home/pi/nod...
by Rena
Mon 23 Nov 2015, 13:15
Forum: SPC Web Gateway Support
Topic: Problem att ansluta
Replies: 4
Views: 2843

Re: Problem att ansluta

Troligtvis så har du inte lyckats få igång spc-web-gateway efter booten. Logga in och kör kommandot: ps -ef | grep spc Om du inte ser spc-web-gateway så är den inte startad. Testa då och starta den manuellt med: /etc/init.d/spc-web-gateway start //Göran Så var det! Startar den inte automatiskt vid ...
by Rena
Thu 19 Nov 2015, 18:15
Forum: SPC Web Gateway Support
Topic: Problem att ansluta
Replies: 4
Views: 2843

Re: Problem att ansluta

Fick det att funka igår, gick bra att köra curl-kommandot och att gå in via webbläsare från annan dator. Skulle sedan starta om och testa igen. Då funkar det inte. Kör jag curl-kommandot säger den "curl: (35) Unknown SSL protocol error in connection to 192.168.1.7:8088" Försöker jag via webbläsare s...