Hey Bob,
Trying to get Influx up and running for my IOTAWatt
I currently use Node-Red to post other data to Influx so i know it is working - no authentication for the initial deployment.
Many times after making changes to the Server definition i will get the following popup
After i have configured the Influx Web server and then gone to the status screen and tried to start the InfluxDB engine i get the following in my log
SD initialized.
11/30/20 03:30:39z Real Time Clock is running. Unix time 1606707039
11/30/20 03:30:39z Reset reason: Software/System restart
11/30/20 03:30:39z Trace: 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1[3], 1:2[6], 9:0[6], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 10:2, 10:21, 10:21
11/30/20 03:30:39z ESP8266 ChipID: 6346788
11/30/20 03:30:39z IoTaWatt 5.0, Firmware version 02_05_11
11/30/20 03:30:39z SPIFFS mounted.
11/30/20 14:30:39 Local time zone: +10:00
11/30/20 14:30:39 Using Daylight Saving Time (BST) when in effect.
11/30/20 14:30:39 device name: IotaWatt
11/30/20 14:30:39 HTTP server started
11/30/20 14:30:39 timeSync: service started.
11/30/20 14:30:39 statService: started.
11/30/20 14:30:39 dataLog: service started.
11/30/20 14:30:39 dataLog: New current log created.
11/30/20 14:30:40 dataLog: Last history entry: 11/30/20 14:30:00
11/30/20 14:30:44 EmonService: started. url=HTTP://172.16.100.20/emoncms, node=IotaWatt, interval=10
11/30/20 14:30:44 influxDB: started, url=HTTP://172.16.100.37:8086, db=iotawattsb, interval=10
11/30/20 14:30:45 WiFi connected. SSID=CURTIN-G, IP=172.16.100.200, channel=7, RSSI -83db
11/30/20 14:30:45 MDNS responder started for hostname IotaWatt
11/30/20 14:30:45 LLMNR responder started for hostname IotaWatt
11/30/20 14:30:45 Updater: service started. Auto-update class is MINOR
11/30/20 14:30:45 influxDB: Last entry query failed.
11/30/20 14:30:45 influxDB: HTTPcode 405, Method Not Allowed
11/30/20 14:30:45 influxDB: Stopped. Last post 11/30/20 01:00:00
11/30/20 14:30:46 EmonService: Start posting at 11/30/20 14:30:40
11/30/20 14:30:47 Updater: Auto-update is current for class MINOR.
11/30/20 14:31:39 historyLog: service started.
11/30/20 14:31:39 historyLog: Last log entry 11/30/20 14:30:00
I have essentially used this as the guide (once i ran into troubles) and can not see where i am going wrong. I am using the same server as i put data out to with Node Red and i use no authentication there either.
https://brettbeeson.com.au/iotawatt-and-influxdb-setup/
And a picture of the setup screen in the InfluxDB connection
I also saw in your blog post about INfluxDB some issue with not having data in a new Database and hence the query for the last data failing.
I took your suggestion in there to add an initial record to the database using
Insert Consumption first=0 1514764800000000
ANy ideas ??
Craig