Quick Python Code for Raspberry Pi. Api GET with Email data send.
- or -
Post a project like this1850
£40(approx. $50)
- Posted:
- Proposals: 1
- Remote
- #2340826
- Awarded
Description
Experience Level: Entry
I have a new Raspberry Pi on my home network and I would like someone to quickly code a Python routine for me that I can cut and paste into my Raspberry Pi Python software. I am not very good at coding which is why I am asking someone on People Per Hour to do it for me.
Every 5 minutes I would like the Raspberry Pi to get the information from this API - http://192.168.1.226/api/system_status/soe
The response back will be something like this:
{"percentage":25.886104107963813}
This is showing that my battery has a 25.8% charge in it.
I would like the routine to send me an email each time it checks the percentage of the battery (cron job needed).
The email will say " Your battery has 25% charge in it." SMTP details to be provided.
Any questions please ask. I would like python code so I can run it on my Raspberry Pi. If anything else needs to be installed please let me know and tell me how to do it.
Thanks
Ollie
Every 5 minutes I would like the Raspberry Pi to get the information from this API - http://192.168.1.226/api/system_status/soe
The response back will be something like this:
{"percentage":25.886104107963813}
This is showing that my battery has a 25.8% charge in it.
I would like the routine to send me an email each time it checks the percentage of the battery (cron job needed).
The email will say " Your battery has 25% charge in it." SMTP details to be provided.
Any questions please ask. I would like python code so I can run it on my Raspberry Pi. If anything else needs to be installed please let me know and tell me how to do it.
Thanks
Ollie
Ollie C.
100% (70)Projects Completed
59
Freelancers worked with
55
Projects awarded
39%
Last project
21 Mar 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies