Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:00 13 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PiOT - Raspberry Pi Home Automation etc

Author Message
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 04:38am 30 Oct 2019
Copy link to clipboard 
Print this post

PiOT is the name I have given to a Raspberry Pi image I have made. Like many I imagine I have been experimenting with home data collection for several years, micromites, ESP8266 but more recently Raspberry Pi. I tried the RPI with mmbasic some time ago and that was successful but since I have spent a lot more time playing with Linux itself, that opens up a whole lot more possibilities.

So to PiOT, silly name but i had to call it something! As the basis of the image is a PHP app called EmonCMS which is part of the Open Energy Project in the UK but it is a terrific application for logging data, it also has great facilities for Visualizations and Graphing. EmonCMS coupled with Node-Red , mmbasic and a Simple but Powerful CMS (Typesetter CMS 5.1) for a Web U/I. All this wrapped together as a "ready to go" RPI image , for me , makes the basis of a nice Home Automation System with fairly limitless functionality but could also easily be a quick way to a logger/controller for many other projects.  
The image is running Raspian Buster and is pre-configured as a headless system it has  MMbasic installed which starts in a screen session on boot up so at the very least the img is an easy way to try Picromite.

I will make the image available if any one want to try it anf will start some documentation on my website.  Mike

Here are a few screens from my working system.















Codenquilts
 
mackoffgrid

Guru

Joined: 13/03/2017
Location: Australia
Posts: 460
Posted: 07:12am 30 Oct 2019
Copy link to clipboard 
Print this post

Hi Mike,

I have yet to make a start on remote monitor and automation.

This looks like something I could try over xmas.

Cheers
Andrew
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3470
Posted: 11:58am 30 Oct 2019
Copy link to clipboard 
Print this post

Please do post the image.

Does it have to be Buster?

Would Buster lite suffice? On a pi-zw?

How much of what your screen shots show is canned and what work is mmbasic doing?

Nice job.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 12:52pm 30 Oct 2019
Copy link to clipboard 
Print this post

Hi Lizby, mmbasic plays no part in the Web interface. It is just one of the tools available in the "compilation" .

In my case, for my current project for example , mmbasic performs some processing of my Grid electricity and roof PV supply data , it collects the data via UDP transmissions from the sensors, calculates then saves the results in a file. Node Red then reads the file and passes them on to the logger. Data from different sensors can be stitched together , logged , displayed etc by using the various applications as required.

The image is based on Buster, I have not really tried a Zero , I think it would be asking too much .

I will be posting the image tomorrow with some documentation.
Codenquilts
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3470
Posted: 02:39pm 30 Oct 2019
Copy link to clipboard 
Print this post

>I have not really tried a Zero , I think it would be asking too much .

What about it is time consuming? I have a stretch lite pi-zw receiving udp messages and serving web pages now, with mmbasic doing some processing.

Nothing to prevent my just flashing a new micro-SD, though.

I assume your headless image would require editing of wpa_supplicant.conf on the PC before inserting into the pi?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 08:39pm 30 Oct 2019
Copy link to clipboard 
Print this post

>I have not really tried a Zero , I think it would be asking too much .

For the Pi Zero, Single core and only 512 MB.

Yes if you want to use WiFi you have to edit wpa_supplicant.conf , ssh file exists.

Mike
Codenquilts
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 11:04am 31 Oct 2019
Copy link to clipboard 
Print this post

The Piot image is available you can download here , you will need a 32gb SD card and flash the card with Etcher.

ssh should already be enabled but you will need to add wpa_suplicant.conf if you want to use wifi.

user/passwords: Root is pi:emonpi2016
Emoncms   piot:Happy@2019
TypesetterCMS   admin:typepi2019

you should be able to access mmbasic by typing screen -r in a ssh terminal window.

Mike
Codenquilts
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025