Search found 33 matches

by PVuser
Wednesday 11 September 2024 18:01
Forum: Other questions and discussions
Topic: HowTo: Correct incorrect values in the graph
Replies: 2
Views: 683

Re: HowTo: Correct incorrect values in the graph

Thanks @waltervl. The the sqlbrowser seems good for me. I will give it a try.

To toggle off the year 2021 I found. But there are also the same problems in some other graphs with single values.
by PVuser
Wednesday 11 September 2024 10:32
Forum: Other questions and discussions
Topic: HowTo: Correct incorrect values in the graph
Replies: 2
Views: 683

HowTo: Correct incorrect values in the graph

I used domoticz in the past, changed to Node-Red for programming, but don't like to miss domiticz because of its well UI. Especially the automatically created graphs. So I recovered my domoticz for a while and integrated it in my Node-Red. But the strikes are a big problem - wherever they come from ...
by PVuser
Thursday 15 July 2021 9:15
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Re: Migrating to Docker - JSON.lua not working

Thanks @EddyG for your suggestion. The first would be a solution, but I fear the installation on my running system for now. The second doesn't work.

My solution is now to do it in Node-Red and send the values via MQTT to Domoticz.
by PVuser
Friday 09 July 2021 18:44
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Re: Migrating to Docker - JSON.lua not working

I found this link also, and tried it, but it doesn't help. There is always the same error.
I miss some basic commands like ping, ssh, curl,.. perhaps it's a bad image/container and I have to ask in a docker forum for it.

But thanks for trying to help
by PVuser
Thursday 08 July 2021 17:41
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Migrating to Docker - How to install curl

many thanks @waltervl - thats it. But how to install?? Try to use it inside docker (via portainer) I get: root@6570a7555a37:/opt/domoticz# curl "http://192.168.178.200/solar_api/v1/GetPowerFlowRealtimeData.fcgi" bash: curl: command not found root@6570a7555a37:/opt/domoticz# apt-get update Err:1 http ...
by PVuser
Thursday 08 July 2021 17:16
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Migrating to Docker - curl doesn't work

Does nobody have an idea?

I'm sure now, that the error is in

Code: Select all

     froniusURL   = 'curl "http://'..IPFronius..'/solar_api/v1/GetPowerFlowRealtimeData.fcgi"'
The file content is empty! But why does it work outside a container?
by PVuser
Friday 02 July 2021 11:40
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Re: Migrating to Docker - JSON.lua not working

Is there another way to check, if JSON is loaded correctly? I think this will be the first entry point to narrow the error. But than I have no other idea, because the code is the same as in previoous domoticz version. with: froniusURL = 'curl "http://'..IPFronius..'/solar_api/v1 ...
by PVuser
Sunday 27 June 2021 17:41
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Re: Migrating to Docker - JSON.lua not working

Thanks, but this isn't the solution. I did: cp -r /opt/domoticz/scripts/lua /opt/domoticz/dzVents/runtime and also checked, that copy was fine. And tried both, the old path and the new path /opt/domoticz/dzVents/runtime. None of this works. And as you can see in the output I posted (it's still the ...
by PVuser
Sunday 27 June 2021 16:48
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Migrating to Docker - JSON.lua not working
Replies: 10
Views: 1314

Migrating to Docker - JSON.lua not working

I migrated to Docker via Backup and Restore. All seems to work fine but my Fronius script. There I need to load JSON.lua The orignial line was: JSON = (loadfile '/home/pi/domoticz/scripts/lua/JSON.lua')() Now I tried: JSON = (loadfile '/opt/domoticz/scripts/lua/JSON.lua')() and it seems to load. But ...
by PVuser
Friday 02 April 2021 20:48
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

Using https://abetterrouteplanner.com, the login is always available. Also they have some additional Values. I really don't know how they do it, but perhaps they are open for information. SmartHome is a really other section ;-)
by PVuser
Friday 29 January 2021 18:20
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

Can you help me how to update an oder version of this module? I can't find the original installation instruction and no instruction to update an existing one? Also I have an feature request: Perhaps you can implement an counter for the car status (awake or not) to see, how long and at which time the ...
by PVuser
Saturday 10 October 2020 21:52
Forum: LUA
Topic: How to get object info - here last user of a deviceChange
Replies: 6
Views: 646

Re: How to get object info - here last user of a deviceChange

sounds very well @waaren, Many thanks :-)
by PVuser
Saturday 10 October 2020 14:46
Forum: LUA
Topic: How to get object info - here last user of a deviceChange
Replies: 6
Views: 646

Re: How to get object info - here last user of a deviceChange

Hmm, how can I do this? (As a workaround I till tried to play with a userVariable. Establish under Settings-Options-Uservariables a variable 'UserForSwitchHeater'. I set it in my luaScript to 'prog'. Than I made a dzVent script where I wanted to set it to 'external'. But I can't find a way to get ...
by PVuser
Thursday 08 October 2020 18:23
Forum: LUA
Topic: How to get object info - here last user of a deviceChange
Replies: 6
Views: 646

Re: How to get object info - here last user of a deviceChange

thanks for the info. So there is really no way to get the user/source of the event, which is shown in the table using the protocol button of a switch (admin, timer, nameOfScript)?? As a workaround I can't use the comfortable timer button at a switch. I have to implement than the times in my skript ...
by PVuser
Thursday 08 October 2020 17:21
Forum: LUA
Topic: How to get object info - here last user of a deviceChange
Replies: 6
Views: 646

How to get object info - here last user of a deviceChange

I look around a long time, but can't find a Manual or Tutorial describing the whole language/commands/variables... Something rudimentär I found in the wiki and Excamples. But isn't there I whole description?? I don't like to ask simle things :( My simpified problem: I have a script getting my energy ...
by PVuser
Monday 08 June 2020 9:52
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

Thanks, for lookin in your code and the hint. The battery drain is very bad of course. I wondered also, but cannot find a reason. Alwayss 2% per day. I think it is a lot. The graph for last 24h shows: 09:15 51% 17:30 50% 04:25 49% I thought, I used all battery savings but without Mobile access. I ...
by PVuser
Sunday 07 June 2020 20:49
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

ok, I have seen that. Data as attachment.
Spoiler: show
Protokoll_1.JPG
Protokoll_1.JPG (81.87 KiB) Viewed 8221 times
Spoiler: show
Protokoll.JPG
Protokoll.JPG (79.14 KiB) Viewed 8221 times
Spoiler: show
temperatur-letzte-24-stunden.csv
(7.18 KiB) Downloaded 157 times
by PVuser
Sunday 07 June 2020 19:47
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

How can I make a graph of 2 days? In domoticz there is no option for this. And no statustable for temperature. (Only for switches)!? (I have Model S)
by PVuser
Sunday 07 June 2020 17:31
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

I think it cannot be a error of the sensor, because the normal values (<> 0)are all right. But if I the only one with this phanomen, than it's of course difficult to find and something of my equipment/configuration,...

Thanks so far
by PVuser
Thursday 04 June 2020 20:12
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 184867

Re: Tesla hardware module

Default 30 min; Active 1 min.Allow weakup = false