Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tammaki26 wrote:this is the difference, the boiler adjusts the airflow level by itself and tries to maintain the lambda value (I can't just discover the algorithm that the module uses.Do you see the difference after putting on the lambda? as I remember it is ~ 1000 PLN
import sys, struct, decimal, json, datetime, csv, time
import requests
from addict import Dict
from datetime import datetime
#, urllib.request
url = "http://admin:admin@192.168.10.8/econet/regParams"
r = requests.get(url)
data = Dict(r.json())
#temperatura CO
print('Temperatura pieca: ','{:6.2f}'.format(data.curr['tempCO']),' Status pieca:',data.curr['pumpCO'],'\n')
#temperatura spalin
print('Temperatura spalin: ','{:6.2f}'.format(data.curr['tempFlueGas']),'\n')
#temperatura grzejniki
print("Temperatura grzejnikow: ",'{:6.2f}'.format(data.curr['mixerTemp1'])," Pompa dziala:",data.curr['mixerPumpWorks1'],'\n')
#temperatura podlogowka
print("Temperatura podloga: ",'{:6.2f}'.format(data.curr['mixerTemp2'])," Pompa dziala:",data.curr['mixerPumpWorks2'],"\n")
#temperatura CWU
print("Temperatura CWU: ",'{:6.2f}'.format(data.curr['tempCWU']),' Pompa dziala:',data.curr['pumpCWUWorks'],"\n")
#Temperatura powrotu
print("Temperatura powrotu: ",'{:6.2f}'.format(data.curr['tempBack']),"\n")
#Temperatura podajnika
print("Temperatura podajnik: ",'{:6.2f}'.format(data.curr['tempFeeder']),"\n")
#Nadmuch
print("Nadmuch: ",'{:6.2f}'.format(data.curr['fanPower']),"%","\n")
#Moc palnika
print("Moc palnika: ",'{:6.2f}'.format(data.curr['boilerPower']),"%","\n")
#Poziom paliwa
print("Poziom paliwa: ",'{:6.2f}'.format(data.curr['fuelLevel']),"%","\n")
#Temperatura zewnetrzna
print("Temperatura zewnetrzna: ",'{:6.2f}'.format(data.curr['tempExternalSensor']),"%","\n")
# field names
#fields = ['tempCO', 'tempFlueGas', 'mixerTemp1', 'mixerTemp2','tempCWU','tempBack','tempFeeder','fanPower','boilerPower','fuelLevel','tempExternalSensor']
file_name = "piec_csv.csv"
#headers = fields
#with open(file_name, 'w') as open_file:
# dw = csv.DictWriter(open_file, delimiter=',', fieldnames=headers)
# dw.writeheader()
dictionaries = [data.curr]
keys = dictionaries[0].keys()
file_name = open(file_name, 'a')
dict_writer = csv.DictWriter(file_name, keys)
#dict_writer.writeheader()
dict_writer.writerows(dictionaries)
file_name.close()
maslak wrote:It is controllable, a simple query after logging in to econeta is enough:
econet / newParam? newParamName = CWU_SET_TEMP & newParamValue = 44 and set CWU_SET_TEMP to 44
maslak wrote:It is controllable, a simple query after logging in to econeta is enough:
http: // adreseconetawnaszejsieci / econet / newParam? newParamName = CWU_SET_TEMP & newParamValue = 44 and set CWU_SET_TEMP to 44
where the list of parameters at http: // adeconetawnaszejsieci / econet / editParams the rest of the list of functions is in controller.js Of course, we make such changes at our own risk!
{"paramName": "tempCWUSet", "paramValue":35, "result":"OK"}SławekSS wrote:Connect and see if it connects to the boiler.
TL;DR: “Roughly 80 % of home-made ecoNET clones trigger the ‘device blocked’ error” [Elektroda, SławekSS, post #18323351] “Only FTDI-based USB-RS485 adapters are accepted” [Elektroda, SławekSS, post #18292233] Stick to genuine UID-MAC pairs or local-only JSON control. Why it matters: wrong hardware wastes time and can lock your controller.
• Supported buses: RS-485 115 200 8N1, FTDI chip only [Elektroda, miszko, post #18186792] • JSON endpoints: /regParams, /sysParams, /editParams (~350 values each) [Elektroda, maki26, post #19044244] • Typical clone success: <20 % reach full cloud pairing [Elektroda, SławekSS, post #18323351] • Customisation (MAC + brand key) reflash cost: PLN 180 ≈ €40 [Elektroda, Starterek85, post #19657219] • Safe baud fallback: 9 600–115 200 bps; data valid only at 115 200 bps for ecoMAX 9xx [Elektroda, miszko, post #17779586]