dmdelorme
dmdelorme
ICACHE_RAM_ATTR vs IRAM_ATTR on an esp32 when ICACHE is used the code is stored in flash slower when IRAM is used the code is stored in RAM faster.. [https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/general-notes.html](url) Not...
I worked just fine with 3.3v supplied from the esp32 feather not much for voltage drop and it read the full range @ 12bit. I did re profile the voltage...
i just worked though part of the problem.. it is a little hacky. ``#####read clock result = client.read_holding_registers(0x9013,3,unit=1) secmin = result.registers[0] secs = (secmin & 0xff) minuits = secmin >>...
I am having similar issues. ever second time i do a read from a tracer A. it gives me the following... ``` DEBUG:pymodbus.transaction:Running transaction 1 DEBUG:pymodbus.transaction:send: 0x1 0x4 0x31 0x0...
I found the interface flaky when I had a loose wire on any part of the system and time out needs to be about .2 `serialclient = ModbusClient(method = 'rtu',...
The changes i have made are local with the understanding I will lose them with any update. I am getting better with JSON. so far i have issues with electrical.solar.*.loadVoltage...
It would be nice if we include power too. Although this is a derived value and could be calculated many charge controllers output this. ``` electrical.solar.*.panelPower electrical.solar.*.power .... output of...
I get Volts and Amps and display them it is just cleaner to look at watts. The epsolar outputs lots of data but what is really relevant is another question?...
This is my output to signalK. `"{"updates":[{"source":{"type":"solar","src":"epsolar","label":"OPserial"},"values":[{"path":"electrical.solar.Tracer4210A.voltage","value":12.66},{"path":"electrical.solar.Tracer4210A.current","value":0},{"path":"electrical.solar.Tracer4210A.power","value":0},{"path":"electrical.solar.Tracer4210A.panelVoltage","value":0.34},{"path":"electrical.solar.Tracer4210A.panelCurrent","value":0},{"path":"electrical.solar.Tracer4210A.panelpower","value":0},{"path":"electrical.solar.Tracer4210A.loadVoltage","value":12.66},{"path":"electrical.solar.Tracer4210A.loadCurrent","value":0.34},{"path":"electrical.solar.Tracer4210A.loadPower","value":4.3},{"path":"electrical.chargers.Tracer4210A.loadnet.current","value":-0.34},{"path":"electrical.chargers.Tracer4210A.mode","value":0},{"path":"electrical.batteries.Tracer4210A.temperature","value":293.15},{"path":"electrical.batteries.Tracer4210A.capacity.stateOfCharge","value":0.56}],"timestamp":"2018-03-07T10:58:48.528Z"}],"context":"vessels.urn:mrn:imo:mm..." 3/7/2018, 4:58:48 AMnode: 257d5f6.e0e5d2msg.payload : string[216] "{"updates":[{"$source":"OPsensors.1W.inside1w","values":[{"path":"environment.inside.refrigerator.temperature","value":294.962}],"timestamp":"2018-03-07T10:58:48.649Z"}],"context":"vessels.urn:mrn:imo:mmsi:98765432"}" 3/7/2018, 4:58:48 AMnode: 257d5f6.e0e5d2 msg.payload : string[1004] "{"updates":[{"source":{"type":"solar","src":"epsolar","label":"OPserial"},"values":[{"path":"electrical.solar.Tracer1210A.voltage","value":12.63},{"path":"electrical.solar.Tracer1210A.current","value":0},{"path":"electrical.solar.Tracer1210A.power","value":0},{"path":"electrical.solar.Tracer1210A.panelVoltage","value":0.19},{"path":"electrical.solar.Tracer1210A.panelCurrent","value":0},{"path":"electrical.solar.Tracer1210A.panelpower","value":0},{"path":"electrical.solar.Tracer1210A.loadVoltage","value":12.63},{"path":"electrical.solar.Tracer1210A.loadCurrent","value":0},{"path":"electrical.solar.Tracer1210A.loadPower","value":0},{"path":"electrical.chargers.Tracer1210A.loadnet.current","value":0},{"path":"electrical.chargers.Tracer1210A.mode","value":0},{"path":"electrical.batteries.Tracer1210A.temperature","value":298.15},{"path":"electrical.batteries.Tracer1210A.capacity.stateOfCharge","value":0.56}],"timestamp":"2018-03-07T10:58:48.974Z"}],"context":"vessels.urn:mrn:imo:mmsi:987654..."` The code: `import socket sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)...