berwinter / uvr1611 Goto Github PK
View Code? Open in Web Editor NEWUVR1611 Data Logger Pro
License: GNU General Public License v3.0
UVR1611 Data Logger Pro
License: GNU General Public License v3.0
hello,
i upgrade today from my uvr1611 + bl-net to uvr16x2 with an C.M.I.
Now my DataLoggerPro shows the error "another process is accessing the bl-net".
I test the connection with same url and same port and i became data.
I test the connection with this browser url "http://xxx:2522/LOG/infoh.log" and download the newest data in a .txt file.
my config.ini is here:
`[mysql]
server = localhost
user = xxx
password = xxx
database = xxx
[uvr1611]
logger = "cmi"
blnet_login = false
address = xxx
port = 40000
reset = true
http_port = 2522
[app]
name = "xxx"
debug = false
email = xxx
chartcache = 600
latestcache = 60
reduction = 2`
Hello,
i tried to add a CAN-MTx2 on frame3 (Frame 1 & 2 are used for UVR1611) .
As soon as I activate the logging on the CMI the data logger does not responde anymore "Unknown Error) when i deactivate the CAN-MTx2 logging everything is working fine again.
So my basic question is the CAN-MTx2 and RSM610 supported?
BR
Michael
Sub-menues cannot be loaded from main screen; only live schema shown correctly. If loading process is interrupted after some time, the table below the graph is displayed, not the graph.
I emptied cache and tried with different browsers, always same problem.
hello,
is there a solution to upgrade the 16 analog/digital values in the dataloggerpro to 64 analog and digital values?
with the last update the UVR16x2 sends a datalogging string with 64 available values for each analog and digital.
big thanks!
when i click on a schema with a normal chart, i see the loading circle and after a time there comes an error.
When i reload the page (f5 in browser) the chart is there without an error.
Is that a cache problem?
uvr1611/lib/backend/blnet-connection.inc.php
Lines 223 to 229 in b4e4151
It says this checks whether the addresses are != 0xFFFFFFF while actually it checks if any of the bytes is 0xFF. Is this correct? Then, please correct the comment
Hello,
I have tested the 2 values in config.ini, reset is true or reset is false, but the memory is still growing.
I need delete datas from Winsol 2.0
Maybe the problem stay only on my installation.
Hallo
ich habe 2.01 am laufen. lohnt sich ein update auf 2.1 ?
habe nirgends ein changelog gesehen.
vg
Meinolf
Year view for the power charts is not working correctly. Instead of month the x axis shows hours, which is not useful in the year view.
Hi,
since end of Feb 2017 i can not get data from blnet. Last entry in database ist Feb.18
Now the cold time ist comming and i have searched where the problem coud be.
System is centos 7.4 with php56 and nginx webserver.
Today master git version.
Live view of data is ok, but no log data can be download from blnet.
wget 'http://192.168.10.5:81/uvr1611/analogChart.php' -O /dev/null
--2017-11-08 19:21:35-- http://192.168.10.5:81/uvr1611/analogChart.php
Verbindungsaufbau zu 192.168.10.5:81... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: nicht spezifiziert [application/json]
In »»/dev/null«« speichern.
[ <=> ] 2 --.-K/s in 0s
2017-11-08 19:21:35 (181 KB/s) - »/dev/null« gespeichert [2]
Can i do something to find out where is the problem located?
Activate any debug info.
Hope you can help.
Regards
Sven
Possibility to toggle between hide and show of a single line, or better also group of lines.
Or switch between the different charts without leafing the chart view (same time, same zoom,...)
when using percent the y axis goes form 0 to 10000% instead of 0 to 100%
Hallo,
ich verwende zur Zeit den BL-NET in Verbindung mit DataLogger Version 3.00 und logge 2xUVR1611 (frame 1+2) und in (frame3) einen CAN-BC an welchem wiederum 3 WMZ über MBUS hängen.
Die Daten landen in der Datenbank und alle Rahmen werden als logger -> uvr1611 erkannt.
Da der CAN-BC 9 Analogwerte und 3xLeistung sowie 3xEnergie liefert, landen hier nur die Analogwerte richtig in der Datenbank. In WINSOL ist alles in Ordnung...
Es scheint, dass für den CMI Klassen erstellt wurden https://github.com/berwinter/uvr1611/blob/master/lib/backend/cmi-parser.inc.php und es da funktionieren könnte.
Kann man solche Klassen auch für den BL-Net generieren oder muss ich mir einen CMI kaufen?
Danke VG Uwe
Would it be possible to export the views?
We would like to publish the info onto our website.
any news ?
Also we have at the Analog 5 a Strömugswächter but it is shown as °C hw we can manage to show it as EIN AUS because its at sensor not as digital output its digital input .
With digital poutputs it work EIN / AUS show in extras stats at same chart site but with the Strömungswächter not
Also how can use more units / formats in one chart ? because at Solar CHarts the Durchfluss Solar is shown as °C to but thats not reight how we can fix that ?
I read values from UVR16x2 with RP3 and Can Bus Shield . and upload values to mysql Datalogger from this github.
Currently the unit is fix by one chart (table t_menu).
It should be assigned to a value (table t_names), to allow different units in one chart. For example the solar chart could contain the temperature (°C), solar radiation (W/m²) and the speed of the pump (%)
Either it could be shown like in Winsol without units on the side, or with multiple y axis labels. Also there should be a different scaling for the solar radiation like in Winsol
Are the units transfered in the CAN frame? The could be automaticaly stored in the t_names table.
Hi,
first many thanks for this great work!
Unfortunatelly I fail importing the tables usign the script:
Using the sample data, structure.sql was running fine.
When I use table-migration.sql afterwards, I get an error:
ERROR 1054 (42S22): Unknown column 'name_id' in 't_names_of_charts'
I tried to add the column: alter table t_names_of_charts add name_id char(50);
Then the script is running until:
Can't DROP 'chart_id'; check that column/key exists.
Even data-migration.sql does fail:
ERROR 1146 (42S02): Table 'uvr1611.t_datasets' doesn't exist
Sorry, but I am an abolutely noob in mysql....
Many thanks, Peter
Hallo,
erstmal, vielen Dank für deine SW! Auslesen und einpflegen der Daten funktioniert super!
Leider habe ich beim JS ein Problem. Der Graph wird nicht angezeigt und obige Fehlermeldung kommt im IE11.
Vielleicht weißt du ja eine Lösung zu diesem Problem.
Danke,
lg
Herby (von der anderen Seite vom Alpl)
Lässt sich der Bus beispielsweise per UART direkt auslesen? Ich hätte die Idee das Projekt in einem Raspberry Pi ohne Zwischenteil von AT zu verwenden.
(Selbstverständlich mit entsprechendem Spannungsteiler)
Schnittstelle Datenleitung.PDF
hello,
when i click on a schema with a normal chart, i see the loading circle and after a time there comes an error.
When i reload the page (f5 in browser) the chart is there without an error.
i edit the max_execution_time to 120 seconds but this not solve the problem.
After managing to setup everything on my raspberry pi (using php7 instead of 5), the main page won't let me log in. I am using the default password "1234" but it keeps telling me that is a wrong password. Also the cronjob wgetting the analogChart.php frequently, keeps telling me there was an internal server error while performing the task. Is all this because of php7 or am I doing something terribly wrong? Just in case that you wonder, there were no older packages for php in apt, otherwise I would have taken the ones you consider!
I am very happy using the UVR1611 Data Logger Pro since many years. It would be great if one additional feature could be implemented and that's the gas consumption. For many gas meters one can attach a reed contact and measure the impulses in the bootloader. One impulse equals to 0,01 m3. In the attached example the sum of all impulses are 2.741 equal to 27,41 m3 gas consumption.
To calculate m3 gas to kWh one has to use the following formula: kWh = m3(gas) * Zustandszahl * Brennwert (kWh/m3).
The so called Zustandszahl is always the same for a given home location and therefore has to be entered only one time taken from an invoice of the gas provider. The so called Brennwert can change from month to month and can also be taken from the local gas provider. For Brennwert one should have an input field that will override the previous value when entered at a given date.
With this information given one should have one additional field gas consumption in kWh.
Hello!
Compliments for this project; i've installed it for a simple uvr iinstallation and it looks good.
I just have a simple question: where have the labels been defined for the pump and valve statuses. Currently they are shown in german (AUS/EIN/OFFEN/ZU) and I would like to display them in another language.
Thanks,
Eddy
This might rather be a j
change the color of shapes in the schema depending on a sensor's temperature value
Hi,
is there a function where i can set the maximum time in Database t_data.
today -365 then all data older then 365days will be deleted automatic in mysql database.
Or can i set a cronjob ervery month witch will delete data older then xxx days, years ....
Regards
Sven
Es ist bereits mehrfach aufgetreten, dass einzelne Tage im Ertragschart nicht angezeigt werden. Siehe beigefügtes Beispiel: hier wurden vom 03. bis 09. August keine Daten angezeigt. Dieser Fehler tritt in unregelmässigen Zeitabständen auf.
Hatte jemand dieses Problem schon einmal und wie kann das gelöst werden?
set date_default_timezone_set('Europe/Berlin'); and offer an option in config.ini
Date is only decremented (and incremented) by 1 day even in week view.
Same behavior for energy chart in month view.
I sometimes have negative powers for a short amount of time. This works well with winsol, but the data logger trnaslates them into very large numbers, rendering the power-chart for that day useless. After setting the values to zero in the database the graph returns to normal. It seems there is a conversion error in the code.
Displaying a horizontal threshold line for analog charts
It would be nice to define own colors for values. I use in Winsol red colors for the buffer tank, orange for solar, blue for oil, ...
Hello,
I have followed the steps (sudo apt-get...) as detailed in section "Installation" and I have successfully installed all required packages. However when I try to run install.php to create the database I get an 500 error.
Can you please give me a hint what am I missing?
Thanks!
This are the steps I did for troubleshooting:
# check lighttpd server is running:
/var/www/html/index.lighttpd.html opened is Chrome as:
http://192.168.168.19/index.lighttpd.html
--> successfully displaying Welcome page | Placeholder page of lighttpd displayed
# check PHP is running:
echo "<?php phpinfo ();?>" > /var/www/html/index_testphp.php
opened is Chrome as:
http://192.168.168.19/index_testphp.php
--> successfully displaying PHP version info page...
# check mysql is running:
sudo /etc/init.d/mysql start
[ ok ] Starting mysql (via systemctl): mysql.service.
# run uvr1611 installation script:
/var/www/html/install.php opened is Chrome as:
http://192.168.168.19/install.php
(http://192.168.168.19/index.php)
--> 500 Error
A smother zoom function, possible to move in a zoomed chart, and also usable on a mobile phone
I use this piece of software for quite some time now and it's really nice.
Thank you for your work.
Now I realized that it is loading some stuff from google servers.
Due to a really slow internet connection in some cases this could take some time.
Is there a reason to not have jquery on the same server?
Is there an advantage to get it from google servers?
In lib/backend/cmi-connection.inc.php#L149, the CMI username and password are hard-coded (currently "winsol:data"). It would be great if username/password could be specified in config/config.ini instead.
Hi,
great project! Is it also possible to load the data from the CMI Webinterface like in WinSol?
How is an example setup for URL, username and password?
I use there this URL:
https://cmi.ta.co.at/webi/CMI007686/index.cgi
best regards
Christoph
Hi,
great project, thanks a lot for you work!
I'm using an UVR1611 with D-LOGG USB. I can read the data under Linux in rrd-Format via dl-aktuelle-datenx and I push them into the table t_data every 5 minutes.
Everything is fine so far, the charts are generated.
My problem is, that I cannot access the digital data; in the configuration of an chart are only the analog values available.
In the predefined shemas the digital data are displayed.
Question: As I'm not using the build-in procedure for reading the values an writing them into the database, is it possible, that there are any steps missing?
I'm not shure, if this is an configuration problem (unfortunatelly there is no example for the configuration of digital values in charts) or a problem of how I'm pushing the data into the database...
Thanks and greetings from Hesse...
helmut
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.