Did you connect the two c.t’s and the temperature sensor before you applied power to the emonTx? You cannot add any of the sensor inputs - the sensors are detected at power-up (and only then - not when you reboot the Raspberry Pi) and the inputs are created automatically when the first readings are made.
What does the LCD show as it starts up? You should see:
emonPi V [and the version number]
AC Wave Detected [or “AC NOT Detected”]
Detected CT1 [and/or CT2] [or “No CT’s”]
Detected: DS18B20 Temp
Raspberry Pi Booting…
@jsampaio Can you post the details in the admin screen. Click on the Copy to Clipboard button next to Server Information and then just paste it to a reply here (no further formatting required). I Don’t have an EmonPi so this is not something I can help with you need @glyn.hudson or @TrystanLea to help but that info will aid them.
BTW if you are formatting code use the backtick which is the key in the top left of the keyboard (3 required).
Was just further reading post and documentation and just want to add that in my case the LCD display on boot also does not display any information, like the EmonPi version, Detecting CTs, Detecting Temperature sensor, …
Sorry to hear your having issues. You mention that you flashed your own SD card, it looks like you have done a good job, however did the emonPi not come pre-assembled with an SD card pre-installed? Do you have you #XXX order ID number to hand, so I can verify exactly what was shipped.
All sensors must be connected before powering up the unit. For the emonPi to detect the temp sensor and CT2 they must be connected before power up. Restarting the RasPi is not enough, try to fully shutdown the unit and remove the power then power up.
The emonPi LCD defiantly dost not look right. It looks like a hardware issue. Could you double check the I2C LCD connections to the emonPi PCD and the contrast adjustment. After adjusting the connection you will need to restart the unit to try to reinitialize the LCD.
Yes, you can check /var/log/emonpilcd/emonpilcd.log
If you are not seeing any Inputs on the Input page of Emoncms then something is not right with your hardware.
The EmonPi was shipped with SD version emonSD-26Oct17 and upon powerup with the sensors connected the same issue reported was occurring, no inputs, no LCD information.
So, have tried to flash the new SD emonSD-30Oct18 to check if was version issue, but the same occurred and have opened this thread in the community for assistance.
The order ID is #18545
Regarding the LCD I2C connection, haven’t touch on them and attach a photo here of how they were.
2018-12-28 21:17:20,969 INFO Starting emonPiLCD V3.0.1
2018-12-28 21:17:21,032 INFO I2C LCD DETECTED 0x27
2018-12-28 21:17:21,415 INFO SD card image build version: emonSD-30Oct18
2018-12-28 21:17:21,415 INFO Attaching push button interrupt...
2018-12-28 21:17:21,422 INFO Attaching shutdown button interrupt...
2018-12-28 21:17:21,429 INFO Connecting to redis server...
2018-12-28 21:17:21,431 INFO Connected to redis
2018-12-28 21:17:21,432 INFO Connecting to MQTT Server: 127.0.0.1 on port: 1883 with user: emonpi
2018-12-28 21:17:21,435 INFO Connected to MQTT
It appears the LCD process is working correctly and found the LCD. Could it be that the contrast is turned up way too high on the LCD? It could be that the LCD is working perfectly but you just can’t read it due to the contrast. The contrast is set by that grey cross head screw in the blue square on the back of the LCD board.
Does the LCD change if you turn the grey adjustment screw in the blue square on the back of the LCD?
I’ve now tried to reduce the LCD contrast with the grey cross, I can see the contract going low and high, but no chars are displayed. Have also tried to power up the EmonPi again with less contrast and LCD lights up but nothing is displayed.