Search found 32 matches

by JPSke
Tuesday 26 November 2024 10:23
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Hi JanJaap. Do you think it is possible to add a switch to control charging of the car?
by JPSke
Tuesday 26 November 2024 10:19
Forum: Other questions and discussions
Topic: Variable set to zero after Domoticz update
Replies: 4
Views: 338

Re: Variable set to zero after Domoticz update

Checked while updating Domoticz: I think the USB power stays on but the Arduino which is communicating with the RPi via USB, resets after the update. Probably normal behaviour of the MySensors interface. Since the variable in the Arduino is stored in RAM, it resets to 0. The best solution will be to ...
by JPSke
Tuesday 05 November 2024 17:47
Forum: Other questions and discussions
Topic: Variable set to zero after Domoticz update
Replies: 4
Views: 338

Re: Variable set to zero after Domoticz update

The variable is set in the script: local expecpiek = tonumber(domoticz.devices('PiekPrognose').rawData[1]) The device is read via "MySensors Gateway USB". Probably it is the "MySensors" device that sends a 0 value, because it is powered through USB by the RPI. I presume the RPI is reset by Domoticz ...
by JPSke
Tuesday 05 November 2024 16:35
Forum: Other questions and discussions
Topic: Variable set to zero after Domoticz update
Replies: 4
Views: 338

Variable set to zero after Domoticz update

Not sure where to post this: I have a script with a calculated value (running total) stored in a local variable. When a new version is available and I update Domoticz the variable is set to zero after the restart, which corrupts the script. Is there way of preventing this by recalling the last value ...
by JPSke
Monday 05 February 2024 11:30
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Everything is working now. Thanks!
by JPSke
Monday 29 January 2024 11:34
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Uninstalling twice did the trick. Now I get "authenticated your Model 3 called...." but after running 'tesla_prepare', there is no link to the browser as before (Use browser to login. Page Not Found will be shown at success. Enter URL after authentication: https://auth.tesla.com/void/callback?code ...
by JPSke
Sunday 28 January 2024 14:20
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Removed TeslaPy and reinstalled (version 2.9.0) After putting in my e-mail address and running 'tesla_prepare' I get this: Traceback (most recent call last): File "tesla_prepare.py", line 5, in <module> vehicles = tesla.vehicle_list() File "/usr/local/lib/python3.7/dist-packages/teslapy/__init__.py ...
by JPSke
Saturday 27 January 2024 11:55
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

The plugin stopped working. In logfile: 2024-01-27 11:52:57.058 Error: Tesla: Call to function 'onStart' failed, exception details: 2024-01-27 11:52:57.064 Error: Tesla: Traceback (most recent call last): 2024-01-27 11:52:57.065 Error: Tesla: File "/home/pi/domoticz/plugins/TeslaDomoticz/plugin.py ...
by JPSke
Thursday 11 January 2024 11:09
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Patiently waiting.... No stress! On a cloudy day I only get 1 or 2 kWh, but when it is sunny in summer when the sun is high, I produce more than 40 kWh per day. Still need the power switch for charging because the car must only consume when there is enough and the home battery is nearly full. Thanks ...
by JPSke
Tuesday 09 January 2024 17:40
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Today the solar panels (11 kWp) produced 24 kWh and the home battery is 15,6 kWh, so there was some extra production to put in the car. But the main raison why I need to control this is because here in Flanders we have that weird system where you pay part of the distribution cost depending on the ...
by JPSke
Monday 08 January 2024 13:25
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Downloaded 0.7.2 and for testing purposes put 1;1;1 as polling intervals. Would expect to get new values every minute, but this does not happen. Last update was 9:13 this morning. To be really useful, we must be able to switch charging on and off (to make efficient use of produced solar power). Do ...
by JPSke
Thursday 04 January 2024 17:19
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Hello JanJaap, thank you for the hard work. After a long time there again is hope that communication with the car will be possible through domoticz. My remarks are not in any way criticism or meant to push you. I only want to keep you posted about possible issues. My experience so far: Downloaded ...
by JPSke
Wednesday 03 January 2024 16:49
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Car authetication ok, tesla_prepare.py returned the car name. 5 devices created and one time data retrieved. But since then no communication with car and I am getting this in the log file: 2024-01-03 16:41:06.315 Error: Tesla: Call to function 'onHeartbeat' failed, exception details: 2024-01-03 16 ...
by JPSke
Tuesday 28 November 2023 11:09
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

@ JanJaap:
if you have programmed something useable, would you care to share?
by JPSke
Friday 22 April 2022 16:03
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Apparantly now the Tesla access token stays valid only for one day (8 hours), meaning that you have to manualy update the token in the hardware module to keep being connected to your car. Has anyone found a solution for this nuissance?
by JPSke
Thursday 10 February 2022 10:48
Forum: Python
Topic: Python plugin for modbus - help wanted
Replies: 1
Views: 1125

Python plugin for modbus - help wanted

I am trying to integrate this plugin I found on this forum, but no luck. It is supposed to send a variable to a modbus register. When I rename the file to "plugin.py" and put it in a folder in the /home/pi/domoticz/plugins/ folder and then restart domoticz all seems well, but as soon as I execute ...
by JPSke
Monday 24 January 2022 18:22
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

Is there someone still involved in maintenance for this plugin? I am noticing some strange behaviour lately: although everything seems normal, I get these weird messages in the log: 2022-01-24 16:24:01.013 Status: Tesla: Executing command: Get Location state 2022-01-24 16:24:02.866 Status: Tesla ...
by JPSke
Saturday 27 November 2021 14:34
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 398
Views: 125762

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Hello Everybody, did anyone succeed to integrate the plugin "Modbus RTU/ASCII/TCP - WRITE using User Variable v1.0.9" from "https://pastebin.com/raw/5zwiepyu"? I can load the plugin and use it as hardware but when I try to execute it, all other plugins stop working, giving a message in the log ...
by JPSke
Friday 19 March 2021 18:11
Forum: Show your projects
Topic: Tesla hardware module
Replies: 283
Views: 179953

Re: Tesla hardware module

@MrHobbes74
In the car you can adjust the charge rate. Any chance of making that possible in Domoticz?
by JPSke
Tuesday 16 March 2021 18:00
Forum: LUA
Topic: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy
Replies: 107
Views: 19878

Re: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy

The peak is the sum of all power that is consumed in 15 minutes, so it is kW, but you can calculate it by using the kWh for those 15 minutes and multiply that by 4. That is because the h in kWh contains 4 quarters. If you switch a 1000 W stove on for 15 minutes, you will have a peak of 1 kW but a ...