Emontx Set - No input

Hi

I am trying to set up a emonTx V3.4 with Emonbase. I used to have a Emonpi and when I logged into the CMS those old EmonPi settings came up. So I deleted the account to start new. But now when I log in to the http://emonpi.local/ there are no Inputs. I tried to select new input → and node 15 with basic info for address, but that didn’t work. Any advice would be helpful. This is the my log

2021-07-11 15:53:25,309 INFO     MainThread EmonHub emonHub (emon-pi variant) v2.2.6
2021-07-11 15:53:25,310 INFO     MainThread Opening hub...
2021-07-11 15:53:25,311 INFO     MainThread Logging level set to DEBUG
2021-07-11 15:53:25,311 INFO     MainThread Creating EmonHubJeeInterfacer 'RFM2Pi'
2021-07-11 15:53:25,313 DEBUG    MainThread Opening serial port: /dev/ttyAMA0 @ 38400 bits/s
2021-07-11 15:53:27,318 INFO     MainThread RFM2Pi device firmware version: [RF12demo.13]
2021-07-11 15:53:27,318 INFO     MainThread RFM2Pi device current settings:  E i5 g210 @ 433 MHz q1
2021-07-11 15:53:27,319 INFO     MainThread Setting RFM2Pi calibration: 230V (1p)
2021-07-11 15:53:28,321 DEBUG    MainThread Setting RFM2Pi pubchannels: ['ToEmonCMS']
2021-07-11 15:53:28,321 DEBUG    MainThread Setting RFM2Pi subchannels: ['ToRFM12']
2021-07-11 15:53:28,322 INFO     MainThread Creating EmonHubMqttInterfacer 'MQTT'
2021-07-11 15:53:28,324 DEBUG    MainThread Setting MQTT pubchannels: ['ToRFM12']
2021-07-11 15:53:28,325 DEBUG    MainThread Setting MQTT subchannels: ['ToEmonCMS']
2021-07-11 15:53:28,325 INFO     MainThread Setting MQTT node_format_enable: 1
2021-07-11 15:53:28,326 INFO     MainThread Setting MQTT nodevar_format_enable: 1
2021-07-11 15:53:28,326 INFO     MainThread Setting MQTT nodevar_format_basetopic: emon/
2021-07-11 15:53:28,327 INFO     MainThread Creating EmonHubEmoncmsHTTPInterfacer 'emoncmsorg'
2021-07-11 15:53:28,328 DEBUG    MainThread Setting emoncmsorg pubchannels: ['ToRFM12']
2021-07-11 15:53:28,328 DEBUG    MainThread Setting emoncmsorg subchannels: ['ToEmonCMS']
2021-07-11 15:53:28,329 WARNING  MainThread Setting emoncmsorg apikey: obscured
2021-07-11 15:53:28,329 INFO     MainThread Setting emoncmsorg url: https://emoncms.org
2021-07-11 15:53:28,329 INFO     MainThread Setting emoncmsorg senddata: 1
2021-07-11 15:53:28,330 INFO     MainThread Setting emoncmsorg sendstatus: 1
2021-07-11 15:53:28,331 DEBUG    RFM2Pi     acknowledged command: > 1p
2021-07-11 15:53:28,636 DEBUG    RFM2Pi     acknowledged command: <nn> i     - set node ID (standard node ids are 1..30)
2021-07-11 15:53:28,739 DEBUG    RFM2Pi     acknowledged command: <n> b      - set MHz band (4 = 433, 8 = 868, 9 = 915)
2021-07-11 15:53:28,843 DEBUG    RFM2Pi     acknowledged command: <nnnn> o   - change frequency offset within the band (default 1600)
2021-07-11 15:53:29,050 DEBUG    RFM2Pi     acknowledged command: <nnn> g    - set network group (RFM12 only allows 212, 0 = any)
2021-07-11 15:53:29,153 DEBUG    RFM2Pi     acknowledged command: <n> c      - set collect mode (advanced, normally 0)
2021-07-11 15:53:29,371 DEBUG    RFM2Pi     acknowledged command: ...,<nn> a - send data packet to node <nn>, request ack
2021-07-11 15:53:29,474 DEBUG    RFM2Pi     acknowledged command: ...,<nn> s - send data packet to node <nn>, no ack
2021-07-11 15:53:29,577 DEBUG    RFM2Pi     acknowledged command: <n> q      - set quiet mode (1 = don't report bad packets)
2021-07-11 15:53:29,682 DEBUG    RFM2Pi     acknowledged command: <n> x      - set reporting format (0: decimal, 1: hex, 2: hex+ascii)
2021-07-11 15:53:29,991 DEBUG    RFM2Pi     acknowledged command: <hchi>,<hclo>,<addr>,<cmd> f     - FS20 command (868 MHz)
2021-07-11 15:53:30,094 DEBUG    RFM2Pi     acknowledged command: <addr>,<dev>,<on> k              - KAKU command (433 MHz)
2021-07-11 15:53:30,298 DEBUG    RFM2Pi     device settings updated: E i5 g210 @ 433 MHz q1

Are you using an emonPi or an emonBase? The emonPi comes in an extruded aluminium case and has a 2-channel “emonTx” inside along with a Raspberry Pi. An emonBase is just the Raspberry Pi with a radio receiver, possibly in a plastic case.

Whichever, have you updated the operating system and emonCMS that those run on? If not, what do you know about it - roughly how old is the software? We no longer support versions older than about 2 years, so as I think you don’t have any data you need to keep, it’s going to be best to get the latest image and start afresh.

What do you know about your emonTx V3.4 - how old (or how new) is it? Because that too has received updates to the software over time.

All that part of the log tells me is it’s communicating with the RFM12B radio, which is good. Is there anything else in the log?
If the emonPi/emonBase is receiving from the emonTx, you should see a line something like this:

RFM2Pi     26741 NEW FRAME : OK 5 209 0 197 0 150 1 110 92 0 0 0 0 0 0 0 0 0 0 0 0 47 205 6 0 0 0 0 0 116 213 6 0 31 133 6 0 (-0)

The data should start OK 15 ... (if 15 is the NodeID of your emonTx) and the number of values following will be different. It should end with a negative number like (-70) (it could be anywhere from about -40 to -90). What we’re aiming to do is match an entry in emonhub.conf (“Edit config” in emonHub in Setup) to match the data that I hope is coming in, because with luck, that’s all your problem is.

Hi

I have a EmonBase/RasberryPi and the emonTx V3.4. I bought both September 2020. I did an update on the EmonBase via the CMS yesterday. So that is up to date. This is the line in the log you mentioned.

Publishing: emonhub/rx/15/values 0,0,0,0,0,0,0,0,0,0,0,0,0,0,-70
2021-07-11 18:23:25,533 DEBUG    RFM2Pi     20 NEW FRAME : OK 15 84 85 85 85 174 52 214 83 99 68 89 171 85 85 81 85 85 85 89 85 85 85 170 170 170 170 85 85 85 85 101 32 101 32 101 32 84 85 85 85 (-72)
2021-07-11 18:23:25,537 DEBUG    RFM2Pi     20 Timestamp : 1626024205.533505

I am not sure exactly what I am looking for in the config file. so I will just paste the whole file below.

[interfacers]
### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module
[[RFM2Pi]]
    Type = EmonHubJeeInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyAMA0
        com_baud = 38400                        # 9600 for old RFM12Pi
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        subchannels = ToRFM12,

        group = 210
        frequency = 433
        baseid = 5                              # emonPi / emonBase nodeID
        calibration = 230V                      # (UK/EU: 230V, US: 110V)
        quiet = true                            # Disable quite mode (default enabled) to enable RF packet debugging, show packets which fail crc
        # interval =  300                         # Interval to transmit time to emonGLCD (seconds)
        

[[MQTT]]

    Type = EmonHubMqttInterfacer
    [[[init_settings]]]
        mqtt_host = 127.0.0.1
        mqtt_port = 1883
        mqtt_user = emonpi
        mqtt_passwd = emonpimqtt2016

    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,

        # emonhub/rx/10/values format
        # Use with emoncms Nodes module
        node_format_enable = 1
        node_format_basetopic = emonhub/

        # emon/emontx/power1 format - use with Emoncms MQTT input
        # http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
        nodevar_format_enable = 1
        nodevar_format_basetopic = emon/

[[emoncmsorg]]
    Type = EmonHubEmoncmsHTTPInterfacer
    [[[init_settings]]]
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        url = https://emoncms.org
        apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        senddata = 1                    # Enable sending data to Emoncms.org
        sendstatus = 1                  # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list
        sendinterval= 30                # Bulk send interval to Emoncms.org in seconds

#######################################################################
#######################          Nodes          #######################
#######################################################################

[nodes]

## See config user guide: https://github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonhub.conf

[[5]]
    nodename = emonpi
    [[[rx]]]
        names = power1,power2,power1pluspower2,vrms,t1,t2,t3,t4,t5,t6,pulsecount
        datacodes = h, h, h, h, h, h, h, h, h, h, L
        scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
        units = W,W,W,V,C,C,C,C,C,C,p

[[6]]
    nodename = emontxshield
    [[[rx]]]
       names = power1, power2, power3, power4, vrms
       datacode = h
       scales = 1,1,1,1,0.01
       units = W,W,W,W,V

[[7]]
   nodename = emontx4
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacodes = h,h,h,h,h,h,h,h,h,h,h,L
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units = W,W,W,W,V,C,C,C,C,C,C,p

[[8]]
    nodename = emontx3
    [[[rx]]]
       names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[9]]
   nodename = emontx2
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacodes = h,h,h,h,h,h,h,h,h,h,h,L
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units = W,W,W,W,V,C,C,C,C,C,C,p

[[10]]
    nodename = emontx1
    [[[rx]]]
       names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[11]]
    nodename = 3phase
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,1
       units = W,W,W,W,V,C,C,C,C,C,C,p
       
[[12]]
    nodename = 3phase2
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[13]]
    nodename = 3phase3
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[14]]
    nodename = 3phase4
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[15]]
    nodename = emontx3cm15
    [[[rx]]]
       names = MSG, Vrms, P1, P2, P3, P4, E1, E2, E3, E4, T1, T2, T3, pulse
       datacodes = L,h,h,h,h,h,l,l,l,l,h,h,h,L
       scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1
       units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p
       whitening = 1

[[16]]
    nodename = emontx3cm16
    [[[rx]]]
       names = MSG, Vrms, P1, P2, P3, P4, E1, E2, E3, E4, T1, T2, T3, pulse
       datacodes = L,h,h,h,h,h,l,l,l,l,h,h,h,L
       scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1
       units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p
       whitening = 1

[[19]]
   nodename = emonth1
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[20]]
   nodename = emonth2
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[21]]
   nodename = emonth3
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[22]]
   nodename = emonth4
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[23]]
    nodename = emonth5
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[24]]
    nodename = emonth6
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[25]]
    nodename = emonth7
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[26]]
    nodename = emonth8
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

That tells me the data is being received - which I thought would be the case. This is the section for Node 15

Explaining it, a L or a l is a 4-bytes unsigned or signed long respectively, h is a 2-byte short signed integer. Adding those up, it’s expecting 40 bytes.
OK 15 84 85 85 85 174 52 214 83 99 68 89 171 85 85 81 85 85 85 89 85 85 85 170 170 170 170 85 85 85 85 101 32 101 32 101 32 84 85 85 85 (-72)
You have 40 bytes there being sent (in bold), not counting the NodeID [15] and the RSSI [-72], so that not the problem.

Following that, does it show the data being interpreted, assigned to variables and sent onwards to emonCMS? (OK, this is not the same Node ID or sketch, you should see something similar.)

2021-07-12 11:37:41,390 DEBUG    RFM2Pi     35933 NEW FRAME : OK 11 0 0 0 0 0 0 0 0 40 0 2 8 48 117 48 117 48 117 48 117 48 117 1 0 0 0 (-77)
2021-07-12 11:37:41,393 DEBUG    RFM2Pi     35933 Timestamp : 1626086261.390068
2021-07-12 11:37:41,394 DEBUG    RFM2Pi     35933 From Node : 11
2021-07-12 11:37:41,395 DEBUG    RFM2Pi     35933    Values : [0, 0, 0, 0, 0.4, 20.5, 300, 300, 300, 300, 300, 1]
2021-07-12 11:37:41,396 DEBUG    RFM2Pi     35933      RSSI : -77
2021-07-12 11:37:41,397 DEBUG    RFM2Pi     35933 Sent to channel(start)' : ToEmonCMS
2021-07-12 11:37:41,397 DEBUG    RFM2Pi     35933 Sent to channel(end)' : ToEmonCMS
2021-07-12 11:37:41,588 DEBUG    MQTT       Publishing: emon/3phase/powerL1 0
2021-07-12 11:37:41,590 DEBUG    MQTT       Publishing: emon/3phase/powerL2 0
2021-07-12 11:37:41,592 DEBUG    MQTT       Publishing: emon/3phase/powerL3 0
2021-07-12 11:37:41,594 DEBUG    MQTT       Publishing: emon/3phase/power4 0
2021-07-12 11:37:41,596 DEBUG    MQTT       Publishing: emon/3phase/Vrms 0.4
2021-07-12 11:37:41,598 DEBUG    MQTT       Publishing: emon/3phase/temp1 20.5
2021-07-12 11:37:41,600 DEBUG    MQTT       Publishing: emon/3phase/temp2 300
2021-07-12 11:37:41,602 DEBUG    MQTT       Publishing: emon/3phase/temp3 300
2021-07-12 11:37:41,604 DEBUG    MQTT       Publishing: emon/3phase/temp4 300
2021-07-12 11:37:41,606 DEBUG    MQTT       Publishing: emon/3phase/temp5 300
2021-07-12 11:37:41,608 DEBUG    MQTT       Publishing: emon/3phase/temp6 300
2021-07-12 11:37:41,611 DEBUG    MQTT       Publishing: emon/3phase/pulse 1
2021-07-12 11:37:41,613 DEBUG    MQTT       Publishing: emon/3phase/rssi -77
2021-07-12 11:37:41,615 INFO     MQTT       Publishing 'node' formatted msg
2021-07-12 11:37:41,615 DEBUG    MQTT       Publishing: emonhub/rx/11/values 0,0,0,0,0.4,20.5,300,300,300,300,300,1,-77

If you have that, it should be appearing on the Inputs page.

[N.B. Everything I’ve written here applies both to the emonBase and to the emonPi.]

Hi

This is the rest of the log. It seems like the data is coming through, but the inputs page in the CMS is blank. Maybe its the setup on Node 15?

2021-07-12 20:46:21,394 DEBUG    RFM2Pi     30 NEW FRAME : OK 15 149 83 85 85 83 55 200 85 85 85 211 171 85 85 80 91 85 85 142 67 85 85 55 167 170 170 85 85 85 85 101 32 101 32 101 32 84 85 85 85 (-79)
2021-07-12 20:46:21,397 DEBUG    RFM2Pi     30 Timestamp : 1626119181.394463
2021-07-12 20:46:21,398 DEBUG    RFM2Pi     30 From Node : 15
2021-07-12 20:46:21,399 DEBUG    RFM2Pi     30    Values : [1728, 250.94, 157, 0, -378, 0, 3589, 5851, -3486, 0, 300, 300, 300, 1]
2021-07-12 20:46:21,399 DEBUG    RFM2Pi     30      RSSI : -79
2021-07-12 20:46:21,400 DEBUG    RFM2Pi     30 Sent to channel(start)' : ToEmonCMS
2021-07-12 20:46:21,401 DEBUG    RFM2Pi     30 Sent to channel(end)' : ToEmonCMS
2021-07-12 20:46:21,634 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1728
2021-07-12 20:46:21,636 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 250.94
2021-07-12 20:46:21,637 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 157
2021-07-12 20:46:21,639 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2021-07-12 20:46:21,640 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 -378
2021-07-12 20:46:21,641 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 0
2021-07-12 20:46:21,642 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 3589
2021-07-12 20:46:21,644 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 5851
2021-07-12 20:46:21,645 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 -3486
2021-07-12 20:46:21,646 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 0
2021-07-12 20:46:21,648 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 300
2021-07-12 20:46:21,649 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 300
2021-07-12 20:46:21,650 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2021-07-12 20:46:21,651 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 1
2021-07-12 20:46:21,653 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -79
2021-07-12 20:46:21,654 INFO     MQTT       Publishing 'node' formatted msg
2021-07-12 20:46:21,655 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1728,250.94,157,0,-378,0,3589,5851,-3486,0,300,300,300,1,-79


I’m struggling now. Everything appears to be in order, but I’ve no idea why the inputs aren’t appearing. My final suggestion, before we need someone who knows emonCMS better, is to delete Node 15 from the inputs. It should re-appear as soon as some data arrives.

So if you tick the box against ‘power1’ you’ll then get a “rubbish bin” icon to delete it.

What you should see is all the values listed in emonhub.conf and in the log: MSG, Vrms, P2, etc.

Thanks, that worked. I can now see 3 Inputs!!

I just need to work out how to set up the feeds. But will read up on that

You should have more than that - you should have all 14 plus the RSSI.

Like this (OK, I’ve squashed the window left-right):

Those inputs that you have look as if they’ve come from the example on the Input API Help page, they aren’t from the emonTx.

So you’re not out of trouble yet. I can’t work out why it’s not passing the data through, we need an emonCMS expert on this one. @TrystanLea or @borpin - can either of you help?

You create a Feed when you put a “Log to feed” or a “Power to kWh” process (there might be more, those spring to mind) in the input processing, which is the spanner icon at the end of each line of input.

Hello @Derek_Morgan did any more inputs come through, it looks like the three inputs that you see there are three generated with the test api rather than inputs coming from the emontx?

As far as I’m aware, he’s never seen any data from his emonTx that’s got beyond emonHub. I’m reasonably satisfied the RFM69Pi is receiving, and emonHub is receiving. And there it stops.

Yes I agree, it looks like that, it seems that the emoncms_mqtt is not picking up the data. What does the admin page show you @Derek_Morgan under services? is emoncms mqtt running?

Hi

I don’t seem to have an admin option in the menu. I suspect it should be under WIFI?

Under the “My account” section it just lists the API key and USER ID 2

Not sure if the fact that I initially deleted the account has effected my access somehow?

Just to add, I tried
http://emonpi.local/emoncms/admin/view

And got this

I tried to Re-authenticate, but just got prompted to login again with no change

This, plus the input data not getting through - I’m wondering what else might be lurking. Your emonCMS looks to be truly scrambled. @TrystanLea is its creator, I think you might need to either (possibly the easier and more straightforward way) reflash your SD card, or somewhat more involved, get at the user database in MySQL and make yourself the principal and only user. As you’ve no data to lose, the ‘safest’ will be the first option - but you might want to see if Trystan has a better idea.

Hello @Derek_Morgan If the admin page does not appear after logging out and back in again, is there a chance that you have multiple accounts on this system?

@TrystanLea

That looks to be what’s happened.

Aha, thanks I missed that. Ok you need to set the admin flag on your second user account. Are you happy to do the following via command line?

mysql -u emoncms -p emoncms (password is: emonpiemoncmsmysql2016)
UPDATE users SET admin=1 WHERE id=2;
exit

Then logout and log back in.

Ok thanks that worked, I now have admin access

image

This is what the services show

Server Information
-----------------------

Services
	emonhub :	 Active Running
	emoncms_mqtt :	 Active Running
	feedwriter :	 Active Running - sleep 300s 0 feed points pending write
	service-runner :	 Active Running
	emonPiLCD :	 Failed Failed
	redis-server :	 Active Running
	mosquitto :	 Active Running
	demandshaper :	 Active Running

Emoncms
	Version :	 low-write 10.5.6
	Modules :	 Administration | App v2.3.0 | Backup v2.2.7 | EmonHub Config v2.1.1 | Dashboard v2.1.1 | DemandShaper v2.1.3 | Device v2.0.10 | EventProcesses | Feed | Graph v2.1.0 | Input | Postprocess v2.1.5 | CoreProcess | Schedule | Network Setup v1.0.2 | sync | Time | User | Visualisation | WiFi v2.1.0
	Git :	 
		URL :	 https://github.com/emoncms/emoncms.git
		Branch :	 * stable
		Describe :	 10.5.6

Server
	OS :	 Linux 5.4.51-v7+
	Host :	 emonpi | emonpi | (192.168.20.134)
	Date :	 2021-07-15 17:15:01 BST
	Uptime :	 17:15:01 up 2 min,  0 users,  load average: 0.31, 0.33, 0.14

Memory
	RAM :	 Used: 15.36%
		Total :	 925.86 MB
		Used :	 142.2 MB
		Free :	 783.66 MB
	Swap :	 Used: 0.00%
		Total :	 100 MB
		Used :	 0 B
		Free :	 100 MB
Write Load Period
Disk
	/ :	 Used: 49.34%
		Total :	 4.06 GB
		Used :	 2 GB
		Free :	 1.86 GB
		Write Load :	 n/a
	/var/opt/emoncms :	 Used: 0.04%
		Total :	 9.84 GB
		Used :	 3.77 MB
		Free :	 9.34 GB
		Write Load :	 n/a
	/boot :	 Used: 21.15%
		Total :	 252.05 MB
		Used :	 53.32 MB
		Free :	 198.73 MB
		Write Load :	 n/a
	/var/log :	 Used: 5.40%
		Total :	 50 MB
		Used :	 2.7 MB
		Free :	 47.3 MB
		Write Load :	 n/a

HTTP
	Server :	 Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL
	Version :	 5.5.5-10.3.23-MariaDB-0+deb10u1
	Host :	 127.0.0.1 (127.0.0.1)
	Date :	 2021-07-15 17:15:00 (UTC 01:00‌​)
	Stats :	 Uptime: 189  Threads: 14  Questions: 160  Slow queries: 0  Opens: 46  Flush tables: 1  Open tables: 40  Queries per second avg: 0.846

Redis
	Version :	 
		Redis Server :	 5.0.3
		PHP Redis :	 5.3.1
	Host :	 localhost:6379
	Size :	 70 keys (787.77K)
	Uptime :	 0 days
MQTT Server
	Version :	 Mosquitto 1.5.7
	Host :	 localhost:1883 (127.0.0.1)

PHP
	Version :	 7.3.19-1~deb10u1 (Zend Version 3.3.19)
	Modules :	 apache2handlercalendar Core ctype curl date dom v20031129exif fileinfo filter ftp gd gettext hash iconv json v1.7.0libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $openssl pcre PDO pdo_mysql Phar posix readline redis v5.3.1Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib 
Pi
	Model :	 Raspberry Pi 3 Model B Rev 1.2 - 1GB (Embest)
	Serial num. :	 BB1E40FD
	CPU Temperature :	 43.47°C
	GPU Temperature :	 43.5°C
	emonpiRelease :	 emonSD-24Jul20
	File-system :	 read-write

The inputs are still just the 3 test API ones

Ok, that all looks fine, did you change the MQTT settings for emoncms in /var/www/emoncms/settings.ini by any chance?
It should show:

[mqtt]
enabled = true
user = 'emonpi'
password = 'emonpimqtt2016'

Hi. Sorry, I don’t have access to this meter for a week, so will get back to you next week.