Configuration problem with Device menu on new IoTaWatt running 02_02_30

Hi,

I’ve just receive my IoTaWatt. :grin:

I’m trying to configure it reading the wiki but at the first page I have a problem.
If I clic “Setup / Device” I do not have any options on the web page, I only have Cancel and Save buttons.

Thank you, logs are below.

Regards,
Juju

No clock yet: SD initialized.
7/27/18 15:16:22 Real Time Clock is running. Unix time: 1532704582
7/27/18 15:16:22 Power failure detected.
7/27/18 15:16:22 Version: 02_02_30
7/27/18 15:16:22 Reset reason: External System
7/27/18 15:16:22 Trace: 22833,4944,2456,51039,43975,59175,11216,4331,12378,37058,58353,45677,47683,21480,40540,5318,1007,65306,11812,21078,29354,29430,51664,44597,53570,33220,60612,57505,64518,20338,64032,17514
7/27/18 15:16:22 ESP8266 ChipID:6911180
7/27/18 15:16:22 device name: IotaWatt, version: 3
7/27/18 15:16:22 Local time zone: 0
7/27/18 15:16:25 MDNS responder started
7/27/18 15:16:25 You can now connect to http://IotaWatt.local
7/27/18 15:16:25 HTTP server started
7/27/18 15:16:25 dataLog: service started.
7/27/18 15:16:25 dataLog: Last log entry:1532704245
7/27/18 15:16:25 statService: started.
7/27/18 15:16:25 timeSync: service started.
7/27/18 15:16:25 WiFi connected. SSID: Juju, IP: 192.168.10.185
7/27/18 15:16:25 historyLog: service started.
7/27/18 15:16:25 historyLog: Last log entry:1532704200
7/27/18 15:16:30 EmonService: started.url: 192.168.10.181:80/emoncms/, node: IotaWatt, post interval: 10, encrypted POST
7/27/18 15:16:30 EmonService: Start posting at 1532704240
7/27/18 15:17:42 Server: Sent less data than expected!

OK. It appears that this IoTaWatt has been configured somewhat already. The clock is current, and there is an Emoncms service configured for what appears to be a local instance.

There are a couple of reasons why the device setup might not be complete, but my suspicion is that there is something in the configuration that is causing the Javascript in the config app to stop building the page.

If you can run the file manager app, can you select config.txt in the left margin file list and post the contents of that? You may want to obfuscate the apikey in the Emoncms section.

If that’s not it, at least I can try to recreate the problem with that config file. Also, would be helpful to know the device/operating system/brower that you are using.

Thanks

Hello,

I’ve done the emocms config for tests so I’m not sure that the device as been configure before.

I’m on a Mac running on Mac OS High Sierra. Tested with Safari, Chrome and Firefox.

Here is the config.txt file :

{
	"format": 2,
	"timezone": 0,
	"update": "MAJOR",
	"device": {
		"name": "IotaWatt",
		"version": 3,
		"channels": "15",
		"burden": [
			0,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24,
			24
		]
	},
	"inputs": [
		{
			"channel": 0,
			"name": "Voltage",
			"type": "VT",
			"model": "Ideal 77DE-06-09(EU)",
			"phase": 1.78,
			"cal": 19.26
		},
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null,
		null
	],
	"outputs": [
		{
			"name": "Voltage",
			"units": "Volts",
			"script": "@0"
		}
	],
	"server": {
		"type": "emoncms",
		"revision": 2,
		"node": "IotaWatt",
		"postInterval": 10,
		"bulksend": 1,
		"url": "http://192.168.10.181/emoncms/",
		"apikey": "apikey",
		"user": "",
		"pwd": "",
		"outputs": [
			{
				"name": "1",
				"units": "Volts",
				"script": "@0"
			},
			{
				"name": 2,
				"script": "@1",
				"units": ""
			},
			{
				"name": 3,
				"script": "@2",
				"units": ""
			},
			{
				"name": 4,
				"script": "@3",
				"units": ""
			},
			{
				"name": 5,
				"script": "@4",
				"units": ""
			},
			{
				"name": 6,
				"script": "@5",
				"units": ""
			},
			{
				"name": 7,
				"script": "@6",
				"units": ""
			},
			{
				"name": 8,
				"script": "@7",
				"units": ""
			},
			{
				"name": 9,
				"script": "@8",
				"units": ""
			},
			{
				"name": 10,
				"script": "@9",
				"units": ""
			},
			{
				"name": 11,
				"script": "@10",
				"units": ""
			},
			{
				"name": 12,
				"script": "@11",
				"units": ""
			},
			{
				"name": 13,
				"script": "@12",
				"units": ""
			},
			{
				"name": 14,
				"script": "@13",
				"units": ""
			},
			{
				"name": 15,
				"script": "@14",
				"units": ""
			}
		],
		"userid": "1",
		"begdate": 1532649600
	}
}

Thank you
Juju

I see what’s going on. I’ll get back soon with a fix.

@theju,

It looks like you may have the configuration app for 02_03_10 loaded on your system.

Does your Setup dropdown look like this? (02_02_30):
image
or this: (02_03_10):
image.

I suspect it’s the 02_03_10. If so, I’d like to figure out how that happened. You probably got your IoTaWatt from the folks at OEM, and they load their systems a little differently. If you could confirm which app you have, I can tell you how to fix it.

@overeasy,

Effectively, my setup dropbox is the second one (03_03_10).

I bought my IoTaWatt this week from OpenEnergyMonitor shop.

Thank you,
Juju

Apparently your IoTaWatt was delivered with a mismatch between the IoTaWatt firmware and the configuration web application. Auto-update releases from IoTaWatt.com install everything as a package, but the OEM shop takes a different approach, loading the SDcard with a bulk duplicator and the firmware from another source. I’ve contacted them about this problem.

There are a few solutions, but I think the simplest is to put the correct config app on your SDcard. It is named index.htm in the root directory of the SDcard. If you run the File Manager app, you will see it listed in the left hand file list:
image
As it happens, the editor window on the right will also show the contents of that file. Here’s how to upload the correct file:

First download the correct file to your system. index.htm (71.9 KB)

Now from that file manager menu, click the image button at the top left and select the downloaded file using whatever dialog your system/browser presents.

The filename should show up to the right. image
Now click the Upload button.

Now reload the iotawatt.local app. (not with the back button, enter the URL again).

You should now get the full Device menu. Let me know how this works for you. I suspect there may be a few others that will need to do it.

1 Like

I’ve just reload the index.htm file.

Now all seem to be good, I can modify my IoTaWatt name and timezone.

Do I need to do something else ? Will the next firmware download and install automatically ?

Thank you

Juju

Great.

You should be fine now. The only other file on the SD that has changed is the tables.txt file, and that is a superset of the 02_02_30 file with some new devices added. It is completely compatible.

New releases will come from IoTaWatt.com and are complete packages with matched webserver files and firmware. Currently, the ALPHA update class is 02_03_10. You can change to that auto-update class, but bear in mind that ALPHA users are expected to be able to reflash their devices (with instruction) if necessary. It has not happened yet, but there’s always a first time…

Firmware updates corresponding to your auto-update class will download and install automatically.