You are not wrong.
HW setup is exactly the same. Used an Arduino IDE (V1.8.9) with fresh EmonTxV3CM and EmonLibCM downloads and latest OneWire and Dallas. Built V1.7.
Doesn’t work!!! I do this time get a 302 rather than 25 for the first Temp reading though.
emonTx V3.4 EmonLibCM Continuous Monitoring V1.70
OpenEnergyMonitor.org
Loaded EEPROM config
Settings:
Group 210, Node 15, Band 433 MHz
Calibration:
vCal = 268.97
i1Cal = 90.90
i1Lead = 4.20
i2Cal = 90.90
i2Lead = 4.20
i3Cal = 90.90
i3Lead = 4.20
i4Cal = 16.67
i4Lead = 6.00
datalog = 9.96
pulses = 0
pulse period = 100
temp_enable = 1
Temperature Sensors found = 0 of 1
Temperature measurement is NOT enabled.
RF off
POST.....wait 10s
'+++' then [Enter] for config mode
CT1 detected, i1Cal:90.90
AC present
MSG:1,Vrms:246.28,P1:83,E1:0,T1:302.00,pulse:0
MSG:2,Vrms:246.38,P1:84,E1:0,T1:0.00,pulse:0
MSG:3,Vrms:246.37,P1:81,E1:0,T1:0.00,pulse:0
I do wonder if it is picking something up from the EEPROM - is there any way to erase it just to be sure? In this case it is picking up the RF Off setting.
If my test sketch works - if proves the HW is fine so the only thing left is a problem with the EmonTX sketch. As I have eliminated PIO as a variable, all I can think of is that there is something extraneous left in the EEPROM.
[edit]
Question - to turn off temperature sensing, is it t
,0
,0
(as in the keys to be pressed) or should there be a space as well between the two 0
s? I can’t actually get it to acknowledge either.
Ah so t0<space>1
results in this change!!! (and it is repeatable after reset with no save)
MSG:69,Vrms:246.47,P1:80,E1:16,T1:0.00,pulse:0
MSG:70,Vrms:246.32,P1:84,E1:16,pulse:0
But after that it does not appear to respond to any t0
command (with or without space)
reset TX
t0<space>0
& s
reset
temp_enable = 0
Temperature Sensors found = 0 of 1
Temperature measurement is NOT enabled.
RF off
POST.....wait 10s
'+++' then [Enter] for config mode
CT1 detected, i1Cal:90.90
AC present
MSG:1,Vrms:246.29,P1:84,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:0
MSG:2,Vrms:246.37,P1:83,E1:0,T1:0.00,T2:0.00,T3:0.00,pulse:0
Why does it now give 3 blank readings?