AWS Lambda and step function scripts to enable you to simply monitor your solar sytem with a smart light bulb.
Full story can be found here: https://medium.com/p/97b2735e48aa
- AWS account
- Solar Edge monitoring account
- IFTTT account (for smart bulb)
- Create three new AWS lambda functions using each
.js
file - Configure Lambda environment variables for each corresponding
process.env.*
values listed in each function - Create a new AWS Step Function state machine using
statemachine.json
- Replace each
ARN
value with the equivalent Lambda ARN IDs (i.e.1_LAMBDA_ARN
replaced witharn:aws:lambda:us-west-2:1234567890:function:1_SolarEdgeTime
) - Run state machine on a scheduler (using CRON)
- Congfigure 2 x IFTTT.com webhooks for turning on/off your smart bulb (of choice), ensure webhook names match
events
listed in3_iftttewbhook.js