domoticz home control and unipi

Share your installations with the rest of the World
BlackSoll
Posts: 31
Joined: Sat Jul 04, 2015 9:07 am

Re: domoticz home control and unipi

Postby BlackSoll » Fri Mar 18, 2016 10:23 am

Glad it helped :!:

Keep in mind that you can name your switches whatever you wish....fan,livving room light,hot water switch etc.
Just put the same name to your script too and all work ok ;)
ESF_nl
Posts: 9
Joined: Mon Mar 14, 2016 3:11 pm

Re: domoticz home control and unipi

Postby ESF_nl » Mon Mar 21, 2016 9:26 pm

Does anybody know what this error message means in the Domoticz log?

Code: Select all

 2016-03-21 21:23:26.843 Error: EventSystem: commandArray in script /home/pi/domoticz/scripts/lua/script_device_UniPi.lua should only return ['string']='actionstring' or [integer]={['string']='actionstring'}
2016-03-21 21:23:57.866 Error: EventSystem: commandArray in script /home/pi/domoticz/scripts/lua/script_device_UniPi.lua should only return ['string']='actionstring' or [integer]={['string']='actionstring'}
2016-03-21 21:23:59.242 Error: EventSystem: commandArray in script /home/pi/domoticz/scripts/lua/script_device_UniPi.lua should only return ['string']='actionstring' or [integer]={['string']='actionstring'}

I've got screens full of them...
BlackSoll
Posts: 31
Joined: Sat Jul 04, 2015 9:07 am

Re: domoticz home control and unipi

Postby BlackSoll » Wed Mar 23, 2016 12:29 pm

I think that it has to do with user variables. Did you do this correctly ? Go to setup->more options->user variables

Code: Select all

to use these you also need to create a user variable as a floating variable and name it 'ai1_value' assign a default level of zero
--and respectivly 'ai2_value' for the 2nd sensor also floating and also starting with zero


But best to ask about these questions on domoticz forum cause it has to do with it's settings and scripting and not unipi. You will get more support there about scripts ;)

Return to “Installations ideas&realizations”

Who is online

Users browsing this forum: No registered users and 1 guest