Search found 15 matches

by Alan-rpi
19 Feb 2020, 12:57
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

for lazy coders who struggle with numbers. Quite the opposite, I struggle with words! It's about writing code that is descriptive. With numbers one has to either keep commenting what the GPIO x represents or keep looking up what x represents or trying to remember what x represents. Once my code is ...
by Alan-rpi
18 Feb 2020, 23:29
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Hi. I note that ESP8266 system has System#Wake and System#Boot. Do these work with RPi Easy and is there a System command for closedown/stopping? On the matter of closedown. If I run RPi Easy as a system task then is RPi Easy happy to be stopped via the Shutdown Now command? I have written a closedo...
by Alan-rpi
18 Feb 2020, 21:58
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Hi. I'm now defining a full trial. I have some output relays and I know my rule can be gpio, 13, 1 but it would be nice to give the output GPIOs names like the inputs. I was hoping one could then say for example if [PanelAlarmSet#state] = 1 gpio, [DoorLock#state], 1 or maybe gpio, [DoorLock], 1 or m...
by Alan-rpi
17 Feb 2020, 00:16
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

There is a way to send text to your phone via email. See this web page for detail. https://www.digitaltrends.com/mobile/how-to-send-a-text-from-your-email-account/ I've used this before. Seems to work ok. Thanks for that. I'll add them to my list of potential gateways though I note they are mostly ...
by Alan-rpi
16 Feb 2020, 12:34
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Thanks for your help. For SMS services, i guess you need some serial GSM module with a SIM card. And of course you have to code the new notification plugin. That is the standard way but needs expensive hardware and a mobile data account with a usual 10p/message or more. For infrequent use there are ...
by Alan-rpi
15 Feb 2020, 23:43
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Moving on to looking at other functionality that is needed for my project. I need to send emails up to 3 destinations: 1) my personal email a/c; 2) SMS services 3) phone alert service RPi Easy has up to 4 email notifications but the message body seems fixed. I need to varying the message Body accord...
by Alan-rpi
15 Feb 2020, 22:39
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Update went fine. And I see we now have Rising and Falling on the Devices. Thank you for these changes. Yes, I forgot there was an Update function under tools. Now I've used it then hopefully I will remember for next time! With more experiment I'm seeing how RPi Easy works. With the Push Button and ...
by Alan-rpi
15 Feb 2020, 00:19
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

enesbcs wrote: 14 Feb 2020, 20:42 // comment support added in RPIEasy 2.0.045
That was quick! Thank you. I will download and try. What's the best way to update and not loose my configuration?
by Alan-rpi
15 Feb 2020, 00:03
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Sure, i can add an option to rising or falling, but how the code will be notified about the opposite change? This is the reason i am using "both". Bouncing is an interesting thing, when stability is critical i am using the 1/10s method as i mentioned earlier, as event_handler misses occas...
by Alan-rpi
14 Feb 2020, 19:52
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Try using a hashtag # symbol for comments. On RPIEasy the rules are interpreted using python. (I believe) I was having rules issues and tried that and it seems to have fixed things here. Will do. I was following the guide here https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules#Comment whic...
by Alan-rpi
14 Feb 2020, 17:05
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

I have spent a few hours experimenting and have drawn 2 conclusions: 1) Comments cause erratic behaviours. Comments on their own line at the start or end of a rule are OK. Comments at the end of a rule statement causes the rule to not work or to work erratically. // comment OK on ShutdownButton#stat...
by Alan-rpi
14 Feb 2020, 00:12
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

That was a quick reply, thank you. i do not know what do you want exactly with those apostrophes, neither ESPEasy Publish nor RPIEasy Publish needs that. I'll remove the quotes, I was just trying anything to get it to work. I'll need to do some more thinking and see if there are MQTT monitoring tool...
by Alan-rpi
13 Feb 2020, 21:32
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Hi. Thanks for your help. I'm making progress :). I now have 2 issues: Issue 1: MQTT: I amended the rules to state Publish "RPIEasy/ShutdownButton",[ShutdownButton#State] The log says 19:57:47: CMD: Publish "RPIEasy/ShutdownButton",0 (or 1) but nothing is getting through. I'm usi...
by Alan-rpi
11 Feb 2020, 00:19
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Many thanks for your reply and useful hints :) I did try my code before posting and the console indicated that the button was pressed, but nothing else. If there are syntax errors in the rules, do they appear on the console? You say "For last resort try to enable 1/10sec periodic checking."...
by Alan-rpi
09 Feb 2020, 23:11
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 446741

Re: RPIEasy

Hi Many thanks for helping RPi users with this GUI :) My installation went fine! I'm struggling to get an easy initial test going as I've not found any manuals or guides. I've defined: Hardward Pinouts: Set GPIO 6 (Shutdown Button) to Input Devices: Defined Generic Input, Name: Shutdown Button, Enab...