Search found 6 matches

by MarkusHD
Wednesday 16 November 2022 22:47
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

I finally did it! Thanks to your help - in fact I was nearer than I thought.

Today I went through line by line as you mentioned to check the "ends" but this wasnt actually the problem or at least not the only thing missing. Especially I missed some returns and return true statements which where ...
by MarkusHD
Tuesday 15 November 2022 23:10
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

Actually I dont make it through. I tried to transfer the needed "ends" from code above but always end up in "unexpected symbol near '}' " in last line which means for me I have some end missing.

I resorted the code a bit, can anyone help?


return {
on =
{
timer = { 'every minute' }, -- change ...
by MarkusHD
Monday 14 November 2022 22:30
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

I now end up at least with the prepared error messages, but do not understand why - from my point of view it should work now, where am I wrong? :roll:


return {
on =
{
timer = { 'every minute' }, -- change to the interval suited for your situation
},

logging =
{
level = domoticz.LOG ...
by MarkusHD
Monday 14 November 2022 13:26
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

Damn, I removed the line by mistake because previously there was a time and date comparison which I didnt need - thanks for pointing this out, I will come back as soon as I checked your lines.

Thanks up to now!
by MarkusHD
Monday 14 November 2022 11:57
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

If I got you right, the mentioned statement is missing or do I have to exchange something from my code? Maybe you can add the line where you would recommend to integrate it into my code?
by MarkusHD
Sunday 13 November 2022 20:25
Forum: Other questions and discussions
Topic: CVS file (on pi) to virtual sensors
Replies: 34
Views: 5172

Re: CVS file (on pi) to virtual sensors

Hey my friends,

as I am new in posting because all I looked for I figured out I am now stuck somewhere related to this topic and hope you can help.

I have a python script which provides by regulare speedtests a csv (speedtest.csv) with 6 values like the following:

Date,Time,Ping (ms),Jitter (ms ...