Search found 8 matches

by ToxicTiger
Saturday 07 September 2019 9:03
Forum: Other questions and discussions
Topic: V-TAC Bulbs
Replies: 0
Views: 201

V-TAC Bulbs

Has anyone had any success getting these V-TAC bulbs working with domotics?
https://www.toolstation.com/v-tac-smart ... ulb/p62442
by ToxicTiger
Saturday 01 December 2018 10:22
Forum: Temperature and Weather
Topic: Temperature sensors
Replies: 1
Views: 1254

Temperature sensors

Hi
I've been using the Digoo 433MHz temperature sensors from banggood with RFlink but the issue I have is battery life. I'm lucky to get 6 months sometimes often only 3 or 4 months. Last week I had several sensors fail with flat batteries. As I have a total of 8 sensors I seem to be for ever ...
by ToxicTiger
Thursday 01 March 2018 11:56
Forum: Suggestions
Topic: Enhancement - Specify GCM destination
Replies: 3
Views: 893

Re: Enhancement - Specify GCM destination

I've been looking at how the Test message button on the Mobile Devices page works. It sends a json request:

http://xxx.xxx.xxx.xxx:xxxx/json.htm?type=command&param=testnotification&subsystem=gcm&extradata=midx_44

xxx.xxx.xxx.xxx:xxxx being my servers IP address and Domoticz port and midx_44 being ...
by ToxicTiger
Wednesday 28 February 2018 16:49
Forum: Suggestions
Topic: Enhancement - Specify GCM destination
Replies: 3
Views: 893

Re: Enhancement - Specify GCM destination

Wondering if you managed to find an answer to this?

I can send the test message to an individual phone using the Mobile devices menu, but I can't find out a way to send a message from a script to a single mobile phone using GCM.
Is it possible using LUA?

Thanks
by ToxicTiger
Sunday 18 June 2017 19:26
Forum: Blockly
Topic: Blockly IF statements
Replies: 6
Views: 4185

Re: Blockly IF statements

So from my experiments I have deduced that multiple sequential IF statements are not allowed either, such as this:

Capture1.JPG

But the Else if (see below) behaves as if it were multiple sequential IF statements. It compares and execute any and all conditions that are true.
From other languages ...
by ToxicTiger
Sunday 18 June 2017 0:46
Forum: Blockly
Topic: Blockly IF statements
Replies: 6
Views: 4185

Re: Blockly IF statements

The "if" step just above the email is < smaller than , according to your requirements it should be > greater than :-)

Hi freijn
I think the < is correct. At least it would be if I could use nested IF statements. I only want an email once a day when the temperature rises to more than 30C. This IF ...
by ToxicTiger
Saturday 17 June 2017 20:36
Forum: Blockly
Topic: Blockly IF statements
Replies: 6
Views: 4185

Re: Blockly IF statements

Thanks Stan.

That makes it a bit trickier.

Can I use multiple ANDs within an IF statement?

what's the point of the two different IF's? I assumed one was for the main loop and one was for nesting.
by ToxicTiger
Saturday 17 June 2017 18:42
Forum: Blockly
Topic: Blockly IF statements
Replies: 6
Views: 4185

Blockly IF statements

Hi

I'm trying to write a script that send an email when the temperature of my greenhouse exceeds a predefined temperature

Capture.JPG

test_temp is a dummy sensor (for testing purposes).
I am setting the temperature with the following URL (just the same way my ESP8266 remote sensor does):

http ...