Error lights but config.txt seems ok

For a while my Iotawatt has been broken and Ive just found the time to investigate properly. My device is flashing GRRG indicating a config.txt problem, and web connections are refused (it doesnt give the GET message Ive seen mentioned, just refuses the connection)

However when I plug the SD card into my computer it seems fine. The config.txt file is included below, but Im unclear what else I could check in order to get the Iotawatt booting again?

Thanks in advance!

{
	"format": 2,
	"timezone": 0,
	"update": "MINOR",
	"device": {
		"name": "IotaWatt",
		"version": 3,
		"channels": "15",
		"burden": [
			0,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20,
			20
		]
	},
	"inputs": [
		{
			"channel": 0,
			"name": "Voltage",
			"type": "VT",
			"model": "Ideal 77DE-06-09-VI(EU)",
			"cal": 18.98
		},
		{
			"channel": 1,
			"name": "Total",
			"type": "CT",
			"model": "AcuCT-H063-100",
			"phase": 0.6,
			"turns": 2000,
			"cal": 100,
			"reverse": true
		},
		{
			"channel": 2,
			"name": "Oven",
			"type": "CT",
			"model": "AcuCT-H040-50",
			"phase": 1,
			"turns": 1000,
			"cal": 50,
			"reverse": true
		},
		{
			"channel": 3,
			"name": "Upstairs",
			"type": "CT",
			"model": "AcuCT-H040-50",
			"phase": 1,
			"turns": 1000,
			"cal": 50,
			"reverse": true
		},
		{
			"channel": 4,
			"name": "Kitchen",
			"type": "CT",
			"model": "AcuCT-H040-50",
			"phase": 1,
			"turns": 1000,
			"cal": 50,
			"reverse": true
		},
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null
	],
	"outputs": [
		{
			"name": "RestOfHouse",
			"units": "Watts",
			"script": "@1-@2-@3-@4"
		}
	],
	"dstrule": {
		"adj": 60,
		"utc": true,
		"begin": {
			"month": 3,
			"weekday": 1,
			"instance": -1,
			"time": 60
		},
		"end": {
			"month": 10,
			"weekday": 1,
			"instance": -1,
			"time": 60
		}
	}
}

Funny, some extra unplugging and extra reboots and it does now seem to be working again. There is some commentary in the log about a failed update on 1st May - which potentially killed it - but I have no idea why the various reboots I have done since 1st May have not fixed it and this time it has come back to life.

Might be prudent to replace your SDcard.

Thanks, ok will take a backup for sure and I do have some in a box that should work. There isnt anything special about the one you provide, just a standard class 4/10 uSD should be fine?

Does it matter that the history logfile is ~2gb?

This should explain it.

copying the /iotawatt directory with contents should go pretty quickly on a PC.

Rather than download the root files, you should just copy the entire card contents to the new card.

1 Like