Search found 11 matches

by tnegun
Wednesday 11 January 2017 9:59
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416233

Re: Blockly examples

Right click on the logic block
by tnegun
Tuesday 10 January 2017 23:52
Forum: PHP and all others
Topic: Heatpump rules - not working
Replies: 7
Views: 2276

Re: Heatpump rules - not working

And thats working.... I was testing by building in stages and got stuck here!!

Thanks for your help :)
by tnegun
Tuesday 10 January 2017 23:25
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416233

Re: Blockly examples

tozzke wrote: correct :)
sometimes it makes it easier to read and in very long blocklies it makes it more compact
Thanks!
by tnegun
Tuesday 10 January 2017 23:20
Forum: PHP and all others
Topic: Heatpump rules - not working
Replies: 7
Views: 2276

Re: Heatpump rules - not working

Just updated to 3.6328

I just realized I'm not doing the same as the OP. I'm acting ont the selector state not setting it.

e.g. This works properly
Image

but this doesn't
Image
by tnegun
Tuesday 10 January 2017 20:48
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416233

Re: Blockly examples

tozzke wrote:right click on block and click 'external inputs'
Just for my info thats purely visual, it doesn't affect the logic right?
by tnegun
Tuesday 10 January 2017 20:05
Forum: PHP and all others
Topic: Heatpump rules - not working
Replies: 7
Views: 2276

Re: Heatpump rules - not working

I'm lazy :) is it a bug or expected that selector switches don't work with If Else blocklys?
by tnegun
Tuesday 10 January 2017 18:34
Forum: PHP and all others
Topic: Heatpump rules - not working
Replies: 7
Views: 2276

Re: Heatpump rules - not working

Did you ever find a solution? I'm having the same issue with IF/ElseIF statements IF/Do work ok though
by tnegun
Sunday 01 January 2017 12:38
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416233

Re: Blockly examples

StanHD wrote:Try re-building without nesting. It should be ok then.[emoji4]
Something like this then? It seems to be working :)

Image
by tnegun
Saturday 31 December 2016 23:49
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 416233

Re: Blockly examples

Hey guys, I'm having some trouble with the example below. Each of the nested conditions is matched once the first is matched e.g. If Play Room temp is less than 16, I get email alerts for each condition confirming an match. Can someone point out the obvious to me :? https://s29.postimg.org/49snjqng7 ...
by tnegun
Saturday 31 December 2016 19:38
Forum: PHP and all others
Topic: Help wanted adapting "Capturing Energy Usage with Lua Script
Replies: 11
Views: 3133

Re: Help wanted adapting "Capturing Energy Usage with Lua Script

So I managed to cobble together a solution myself. I'm using an Electric Instant + Counter Device with the Energy Read option set to computed. I'm using this script commandArray = {} if devicechanged['IT Demand'] then power = otherdevices_svalues['IT Demand'] --commandArray['UpdateDevice'] = 31 ...
by tnegun
Thursday 29 December 2016 11:42
Forum: PHP and all others
Topic: Help wanted adapting "Capturing Energy Usage with Lua Script
Replies: 11
Views: 3133

Re: Help wanted adapting "Capturing Energy Usage with Lua Script

Hi elmortero, Sorry to drag up an old thread but I'm trying to achieve similar to you and it looks like this script fits the bill but I have a couple of questions! The device to collect the usage is type Electric Instant + Counter? In your script you have these devices elecmeter, elec_switch ...