Blockly basic doesn't work

Moderator: leecollings

Post Reply
darrepac
Posts: 142
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Blockly basic doesn't work

Post by darrepac »

Hi,

Just discovering event and make a try: send me an email if memory usage is above 95%.
I created the following and it is not possible to save the event (so I guess there is an error in it).

Do you see where is the mistake??
Attachments
Domoticz - Google Chrome_2014-04-16_20-05-01.jpg
Domoticz - Google Chrome_2014-04-16_20-05-01.jpg (14.07 KiB) Viewed 2528 times
SweetPants

Re: Blockly basic doesn't work

Post by SweetPants »

The issue is the '%" sign in the subject, remove it and try to save it then
darrepac
Posts: 142
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Blockly basic doesn't work

Post by darrepac »

Indeed, it works now!
We have to limit to the alphabetical letter in any text?
SweetPants

Re: Blockly basic doesn't work

Post by SweetPants »

darrepac wrote:We have to limit to the alphabetical letter in any text?
Don't know, maybe if you 'escape' the character (\%) it wil also work, didn't try that.
User avatar
gizmocuz
Posts: 2712
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Blockly basic doesn't work

Post by gizmocuz »

Should now be fixed in #2421+
Quality outlives Quantity!
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Blockly basic doesn't work

Post by Egregius »

Great! Send email is working from blocky.
Thank you gizmocuz!
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: Blockly basic doesn't work

Post by assenzuid »

I have created below Blocky, but the email is not send.
1.JPG
1.JPG (25.03 KiB) Viewed 2067 times
Is there some debug or log to check why it isn't working.

There's no separate notification configured or set at the device self.
11.JPG
11.JPG (12.66 KiB) Viewed 2067 times
User avatar
Minglarn
Posts: 214
Joined: Friday 21 August 2015 19:27
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Stockholm / Sweden
Contact:

Re: Blockly basic doesn't work

Post by Minglarn »

As I can see in your blocky you are using the if/else function.

Change it to a single if and it should work.

(Don't use the if with + function)


Sent from space using an app.
When you eliminate the impossible, whatever remains, however improbable, must be the truth.” -Spock in Star Trek VI
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: Blockly basic doesn't work

Post by assenzuid »

Ok, I will change it to a single IF statement
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: Blockly basic doesn't work

Post by assenzuid »

I can confirm it's working, thanks!
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: Blockly basic doesn't work

Post by assenzuid »

I have configured below working Blocky, the cron job is running every 10 minutes to fetch the actual data from Buienrader.
Capture.JPG
Capture.JPG (25.37 KiB) Viewed 1957 times
If the value is above 25% an email is send out, but the notification is send every 10 minutes when the value is still above the 25%.
I want to build some logic into the blocky that prevents this, when the value is below 25% and later at the day it is raised above 25% the notification must send out again.
Someone an idea how to build/ configure this.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest