Search found 12 matches

by ksga
Thursday 15 December 2016 14:50
Forum: PHP and all others
Topic: Heatpump rules - not working
Replies: 7
Views: 2277

Heatpump rules - not working

Hi. I'm trying to get my first Blockly working - and so far mixed success... I'm trying to setup something that will keep my apartment in a reasonable heated/cooled state when I'm away for a couple of days/weeks. I started out with a simple "if lower than 26C, then turn on inverter on heat setting ...
by ksga
Monday 05 December 2016 11:35
Forum: PHP and all others
Topic: noob in da house
Replies: 1
Views: 935

Re: noob in da house

Update.. Sometimes patience is a virtue.... Some minutes passed and the script ran. Now I just have to figure out what makes it tick :)
by ksga
Monday 05 December 2016 11:08
Forum: PHP and all others
Topic: noob in da house
Replies: 1
Views: 935

noob in da house

Hi - just doing my first attempts with Blockly, and so far going nowhere.... Any pointers to what I'm doing wrong? The plan is to setup a heat/cool script that will use my heatpump to manage temperatures when I'm not around to fiddle with thermostats on radiators. Did some trials but as they were ...
by ksga
Thursday 17 November 2016 10:35
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 79512

Re: How to monitor your internet connection with virtual custom sensors

gennapium wrote:In linux give the command echo $PATH and copy the result. In the script at the beginning enter:
PATH=PATH:(the result from echo PATH)

That did the trick for me.

Good luck.
Perfect - works like a charm :D
Thanks.
by ksga
Thursday 17 November 2016 8:26
Forum: Third party and supplementary tools
Topic: How to monitor your internet connection with virtual custom sensors
Replies: 257
Views: 79512

Re: How to monitor your internet connection with virtual custom sensors

gennapium wrote:Hi,

I tested the script and when i start it it works fine. But when starting the script in cron, nothing happens. I can see the output.tx file is being updated but the info in the html page of domoticz is not updated. Also starting with sudo in cron doesn't help.
Does anyone know why ?
+1
by ksga
Thursday 17 November 2016 8:05
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

Okay... I feel a bit stupid now.... Turns out I should create a *.lua file in "DOMOTICZ_ROOT_FOLDER/scripts/lua" and not use the web interface to add it as an event. Created script_device_heatpump.lua in above location, and the error message has disappeared from the log, and the devices are fully ...
by ksga
Wednesday 16 November 2016 14:48
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

I can see in your log that there is no fail now. 2016-11-16 09:06:29.031 (MySensors) Lighting 2 (IRsend) Are you sure that the text sensor is not updating now? To print you can use: print(otherdevices_idx[textDev]) Sorry... didn't want to flood the thread with the same message :) I added the print ...
by ksga
Wednesday 16 November 2016 9:11
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

"AC_model" is to select the model of the heatpump becuase in the arduino I can use all heatpump What happen if you print "otherdevices_idx[textDev]"? it's null or it's the value of idx that you have in the devices window. I have some problems because the text sensor wasn't connected to the gateway ...
by ksga
Tuesday 15 November 2016 9:02
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

Try my script. I use your script with a little modification: -- These are the configuration variables, set them according to your system -- Mode command modelCmd = '13' --fuego -- Name of the devices from MySensor textDev = 'acIRcmd' irSendDev = 'acIRset' -- Name of the dummy Devices AC_Model = 'AC ...
by ksga
Monday 14 November 2016 9:33
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

Maybe you have found the solution, but could be useful for other user: In the line: commandArray['UpdateDevice'] = otherdevices_idx[textDev] .. '|0|' .. modeCmd change for: commandArray[otherdevices_idx[textDev]] = {['UpdateDevice'] = otherdevices_idx[textDev] .. '|0|' .. modeCmd } Thank you for ...
by ksga
Monday 31 October 2016 13:59
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

Okay, so I decided to give this another go - and got a bit further :) The sensor node showed up with two devices: #, Name, Type, SubType 1: IR send Lighting 2 AC 2: IR data General Text I created a Dummy hardware device "Heatpump", and 3 virtual sensors on it: #, Name, Type, Subtype 1: Heatpump Mode ...
by ksga
Sunday 10 July 2016 14:24
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33954

Re: Domoticz - air conditioning control

Okay.. I'm probably a complete imbecile, but I can't get this AC control working... I'm running Domoticz 3.4834, installed the MySensors beta library and HeatpumpIR library. Changing Mysensor.H to Mysensors.H in the HeatpumpIRController.ino sketch, and editing IRSender.h, changing Protected to ...