fredag 3 februari 2017

Last day, chocolate cake

Today I've worked on documenting everything and cleaning the office. Seeing through that all passwords can be found and so on.

It's been an adventure working here and I've learned so much.

CAN
SPI
Linux
Raspberry pi
PHP
Troubleshooting
Python
SMS
Email
MySQL

Leadership
Communication
Fika
Cars, Snowbikes and motors

Blogging

Thank you Kivo
Andreas, Anton, Magnus, Maria,  Ida, Erik, Katomen and the rest I've met. You are seriously amazing people!

torsdag 2 februari 2017

Documentation and polishing and autostart and ssh is a bit to learn

Today I've documented most of the classes so it's easy to understand and applicable to other programs. I also polished and made so that the alarm connects to a webcam and saves a picture on the r-pi. I didn't have time to add it to the email.

ssh with passwords and autossh is a bit tricky, there are a lot of small things to learn. I guess calling someone who knows would save time!

Tried to make the alarm start automatically when r-pi boots up, but can only do linux-commands and not start the pythonprogram... Hmm.

Tomorrow I'll do a transfer of the work to Anton so he knows the system. Maybe I'll have time to make the alarm startup automatically when booted, then it feels like a running prototype that kivo actually can use.

onsdag 1 februari 2017

Email solved? SMS solved. left is autossh.

Today I worked on getting an SMS from a site when it notices that the raspberry pi hasn't uploaded data to a database at the expected time.

I also fixed the email, but not wil really logging into Bineros account (i think), but just usting a few lines from here. So extremely simple.

So now, if the r-pi now lose connection, in five minutes I will get an SMS and Email telling me it got offline. I'm turning it on now before I go home for today and I expect the SSH-tunnel to break in 12 hours, so in the middle of the night I will get an SMS. (I allways put my phone on silent during the night, so I can sleep).

Feels kinda good, tomorrow I'll try fixing the autossh so that the tunnel goes on and make the r-pi start everything up when it's started. After that I'll focus on documentation for the rest of the LIA. I haven't got any mail from Binero about fixing an autossh-tunnel, have they forgotten me?

There is still much I haven't done and can be improved. I have learned sooo much. Especially about SMS, Email, PHP, Linux, r-pi and electronic.