I’m doing my dissertation project which includes installing Oem and Home Assistant on Raspberry Pi with Stretch. I’ve already had Home Assistant in a venv and Emoncms installed once working fine (March version of Stretch).
p.s. I’m aware of the voltage issue with 5V 2.5A Pi charger arriving today. I still want the desktop and will intergrate Oem (in Welsh) and HA + components and sensors; ideally, I want to include motion data with my energy data in my own Db.
I would suggest waiting until you have the power supply before attempting any debugging as you could be wasting you time. It could simply be a power supply issue or whatever debugging you do or results you get could well be hampered by the poor power supply. We can see there was a 6 second pause in the boot up due to low power, during boot is when the most power is used.
Do the “low voltage” warnings persist with the new PSU or do you have different error messages or debug info to follow? The only errors shown relate to low voltage.
The message in the screen dump about mmc0 not supporting read-only mode I think is referring to the hardware switch you get on SDcards and says since it doesn’t support it “write enabled” is assumed which is normal running mode.
Personally I have never found installing emoncms to cause a failure like this, I cannot think of anything in that guide that could cause a boot issue, did you do anything that is not in that guide?
Did you expand the filesystem?
Does it still stall booting at the exact same point?
it stalls exactly at the same point and I’m sure I did expand the filesystem. It is a strange problem - especially since I’ve already had it running with no issues.
I reinstalled because I want to put Emoncms first then Home Assistant without a venv.
Firstly I have used DietPi with a great deal of success for this sort of setup. In addition I used the HASS.IO docker install which was absolutely flawless.
Thanks @borpin but I can’t install via docker from pi@emonpi(rw). I recon my best bet is what I had originally; stretch os with HA in venv and emon as CL install
I have Oem working great and running HA in docker container, but not sure how to get HA working:
$ docker start home-assistant
home-assistant
… but not working on http://localhost:8123 and I’m running out of ideas
docker start is for starting containers which have already been created but are stopped. In your case I am not sure if you have created a working container from the image in first place. You should ensure you have deleted all references to any previous non-working container using:
docker rm home-assistant
and then try
docker run -d --name="home-assistant" -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/raspberrypi3-homeassistant:0.69.1
I have just tried the above on a raspberry pi 3b+ and it works when I visit http://localhost:8123 etc.
You maybe better off posting on the HA forums about this as I have no direct experience with HA (although looks very nice).
Thanks for your advice. I removed containers etc. unsuccessful yesterday. Now Done
It seems I specified a folder on the above run without including a /config folder. The home assistant community was very helpful on reddit
Great. Sorry I should have made it clear yesterday you need to bind mount a config directory in (as described on the HA install page). The above run command should only be used to test if the container is working.