Welcome, Guest
Username: Password: Remember me

TOPIC: HOW TO MAKE AUTOMATION BASE ON TIME

HOW TO MAKE AUTOMATION BASE ON TIME 1 year 2 months ago #3456

  • Nanang85
  • Nanang85's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hi Friend,
Please advice to make an automation base on time ( clock ). I use raspberry pi 2 as server & arduino + esp12f as client. I want to turn on / off the relay base on time, such as @ 8.30 relay off & @ 17:30 relay on every day. Can i use cron?
I follow the tutorial scene control to turn off all relay. But i cannt use it or i dont know its work. Here is my code :

turn off
cron name : 30 8 * * *

code [ Click to expand ]
Attachments:
The administrator has disabled public write access.

HOW TO MAKE AUTOMATION BASE ON TIME 1 year 2 months ago #3457

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 835
  • Thank you received: 258
  • Karma: 25
Nanang85 wrote:
Hi Friend,
Please advice to make an automation base on time ( clock ). I use raspberry pi 2 as server & arduino + esp12f as client. I want to turn on / off the relay base on time, such as @ 8.30 relay off & @ 17:30 relay on every day. Can i use cron?
I follow the tutorial scene control to turn off all relay. But i cannt use it or i dont know its work. Here is my code :

turn off
cron name : 30 8 * * *

code [ Click to expand ]

Hi, in Ru function use DriverHelper to switch ON and OFF:
iot-playground.com/blog/2-uncategorised/...-automation-part-iii

Setup function is in this case empty.
The administrator has disabled public write access.

HOW TO MAKE AUTOMATION BASE ON TIME 1 year 2 months ago #3459

  • Nanang85
  • Nanang85's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
EasyIoT wrote:
Hi, in Ru function use DriverHelper to switch ON and OFF:
iot-playground.com/blog/2-uncategorised/...-automation-part-iii

Setup function is in this case empty.
So like this?
cron name : 30 8 * * *
code [ Click to expand ]


So everyday at 8.30, N0S1 will "ON"?
The administrator has disabled public write access.
Time to create page: 0.132 seconds
Powered by Kunena Forum