Trystan Lea
Trystan Lea
> On my system Serial.println(E2END); returns 5631. I'm pretty sure that's not correct... Thanks I get the same here.
E2END returns 1023 for the ATmega328 It's defined for the avr128db48 in the file: packages/DxCore/tools/avr-gcc/7.3.0-atmel3.6.1-azduino4b/avr/include/avr/ioavr128db48.h #define EEPROM_END (EEPROM_START + EEPROM_SIZE - 1) #define E2END EEPROM_END though EEPROM_START and EEPROM_SIZE definitions...
Thanks @brandon3055 Does reducing the sample rate perhaps: ADC0.CTRLC = ADC_PRESC_DIV32_gc; or ADC0.CTRLC = ADC_PRESC_DIV64_gc; make any difference? adusting timing in the EmonLibCM_setADC(12,sample_time); appropriately do you have one-wire temperature sensing...
Broken image perhaps: > pi@emonpi:/var/log/emonhub $ python3 /opt/openenergymonitor/emonhub/src/emonhub.py --config-file=/etc/emonhub/emonhub.conf > Traceback (most recent call last): > File "/opt/openenergymonitor/emonhub/src/emonhub.py", line 29, in > from interfacers import * > File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py", line...
Easy solution https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3 but perhaps should use venv https://peps.python.org/pep-0668/ https://stackoverflow.com/questions/75602063/pip-install-r-requirements-txt-is-failing-this-environment-is-externally-mana
Im not sure to be honest, this was something pb66 introduced a while back, it looks like it might be good to revisit this again and evaluate the differences.
Ok so will still need a script of some sort to check and clear logs if full ? Should the logrotate config not fix this by ensuring that the sum...
Im getting an error that log2ram cant start due to tmpfs size being too small. It looks like there are some new journal files or logs now in /var/log which...
Looks like this must be related to https://forums.raspberrypi.com/viewtopic.php?t=341605 the disk use matches when running: journalctl --disk-usage The procedure described by druck works a treat: Add the following to /etc/systemd/journald.conf Storage=volatile...
Continues from https://github.com/openenergymonitor/EmonScripts/issues/12 after reboot emonpiupdate.log will be present, remove to ensure emonpifirstupdate runs next time... 1\. Set WiFi country code sudo raspi-config 2\. Prepare wifiAP: sudo systemctl disable hostapd.service...