Hello,
I’m getting numerous issues with the new emon PI and I want to reset it to factory defaults to start from fresh. Logged in via SSH, “sudo su” and navigated to the emonpi directory. Ran “sh factoryreset” and it came back with the error below :
"
root@emonpi(ro):emonpi# sh factoryreset
emonPi Factory reset script
factoryreset: 7: factoryreset: [[: not found
Filesystem is unlocked - Write access
type ’ rpi-ro ’ to lock
emonSD-07Nov16
factoryreset: 16: factoryreset: Bad substitution"
Anyone any ideas how i can get my emon pi back to a good state?
This is the instructions i followed to reset the emon pi. Troubleshooting - Guide | OpenEnergyMonitor