Search found 58 matches

by gajotnt
Wednesday 18 July 2018 11:42
Forum: Utility
Topic: Question about energy usage
Replies: 18
Views: 1017

Re: Question about energy usage

If it shows positive, must be because it doesnt defirentiate the direction of the current :(
by gajotnt
Tuesday 17 July 2018 15:34
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 6
Views: 485

Re: PowerUsage, and return values without a P1 meter

Think i got it working :D To whom it may help: Power cunsumption of the house taking into consideration the Solar Power generated --Calculate what the house is consuming -- Get current date & time t1 = os.time() local currentDate = os.date("*t"); -- sets up currentDate.[table] -- (currentDate.year [...
by gajotnt
Friday 13 July 2018 21:21
Forum: LUA
Topic: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy
Replies: 36
Views: 2558

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

It is a dummy usage meter (kWh)
Maybe you can take a look at this post were I explain what im looking for and have a partial working code:
viewtopic.php?f=61&t=24142#p186211

Screenshot 2018-07-13 15.49.49.png
Screenshot 2018-07-13 15.49.49.png (127.86 KiB) Viewed 195 times
by gajotnt
Friday 13 July 2018 18:19
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 6
Views: 485

Re: PowerUsage, and return values without a P1 meter

I did the Math, just dont know how to program it -.- Things I know: - Solar energy being generated; - Energy Consumption/return of/to the grid; So if: Example: if solar being generated is 600w, and im returing 100w (gives a negative value) to the grid SOLAR + (EnergyUsed/Returned) = Consumption Then...
by gajotnt
Friday 13 July 2018 11:59
Forum: LUA
Topic: LUA – Virtual Solar Battery: simulate the presence of a battery for storing harvested solar energy
Replies: 36
Views: 2558

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

Awesome idea :O I dont have a P1 meter, but have 3 solar panels and a SDM120 MODBUS that gives me negative values when im sending energy to the grid. Can you make a version of your script where it gets the information from the SDM120 dummy device (that has positive and negative values) and sends onl...
by gajotnt
Thursday 12 July 2018 23:43
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 6
Views: 485

Re: PowerUsage, and return values without a P1 meter

Thanks, will look into this :)
by gajotnt
Wednesday 11 July 2018 18:38
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 6
Views: 485

Re: PowerUsage, and return values without a P1 meter

Ok, but is there anyway of creating two virtual meters: - One that only displays the positive values (So that i have an accurate reading of what im consuming, by deleting the negative and showing it has zero) - Another that displays only the negative values (so that i know how much energy im wasting...
by gajotnt
Wednesday 11 July 2018 14:05
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 6
Views: 485

PowerUsage, and return values without a P1 meter

Hello, i recently adquired some solar panels, and sometimes i give power to the grid (the power company doesnt buy), since i have a pzem004T sensor (connected to a sonoff basic with Tasmota) that only knows one direction, when im giving 300w to the grid it show has 300w consumption. I ordered a SDM1...
by gajotnt
Thursday 05 July 2018 23:50
Forum: Utility
Topic: Question about energy usage
Replies: 18
Views: 1017

Re: Question about energy usage

You have to use a sonoff pow or a pzem to record what the solar panels are generating
by gajotnt
Thursday 05 July 2018 18:34
Forum: Utility
Topic: Question about energy usage
Replies: 18
Views: 1017

Re: Question about energy usage

What kind of meter are you using to get that return value?
I have adquired 3 solar panels, and during the day i get negative values (giving energy to the power company) and that kind of meter would be awesome
by gajotnt
Monday 18 June 2018 17:02
Forum: Bugs and Problems
Topic: Switch Turns off several times by itself
Replies: 6
Views: 270

Re: Switch Turns off several times by itself

I think i'll just try to switch to another device and see if it resolves the problem.

Thanks :)
by gajotnt
Monday 18 June 2018 13:15
Forum: Bugs and Problems
Topic: Switch Turns off several times by itself
Replies: 6
Views: 270

Re: Switch Turns off several times by itself

How do i configure them to use internal pull-up?
by gajotnt
Monday 18 June 2018 12:50
Forum: Bugs and Problems
Topic: Switch Turns off several times by itself
Replies: 6
Views: 270

Re: Switch Turns off several times by itself

Read that one, but when it does that it turns ON and OFF, in my case it turns OFF several times in a row.

And i dont have any switchs or cables connected to the sonoff that would require a pull up resistor
by gajotnt
Monday 18 June 2018 11:56
Forum: Bugs and Problems
Topic: Switch Turns off several times by itself
Replies: 6
Views: 270

Switch Turns off several times by itself

Version: v3.9639
Platform: Raspi3
Plugin/Hardware: Sonoff with Tasmota 5.14.0 virtual switch
Description:
Switch turns off several times by itself, i have a timer set so that the lights turn off at 4AM, but since i have this problem never reaches that time of night turned on
Log.JPG
Log.JPG (48.46 KiB) Viewed 231 times
by gajotnt
Monday 29 January 2018 17:56
Forum: iOS
Topic: Pilot: Home Automation Control (iOS app)
Replies: 791
Views: 119340

Re: Pilot: Home Automation Control (iOS app)

I have the paid version of the domoticz android app, would pay for this one on android great work
by gajotnt
Thursday 25 January 2018 16:57
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script
Replies: 109
Views: 13257

Re: dzVents version of the Solar Data Script

After latest beta (V3.8841) getting some warnings, easily fixed, just wanted y'all to know. 2018-01-25 13:51:00.539 dzVents: Info: SOLAR 2.2.0: ------ Start internal script: Solar:, trigger: every minute 2018-01-25 13:51:00.548 dzVents: Info: SOLAR 2.2.0: domoticz.round deprecated. Please use domoti...
by gajotnt
Tuesday 23 January 2018 19:24
Forum: Bugs and Problems
Topic: Error Log : WUnderground: Receiving old data from WU!
Replies: 9
Views: 1132

Re: Error Log : WUnderground: Receiving old data from WU!

Would be great to have a fallback station for when one station goes offline for some reason it would connect to the second one automaticly
by gajotnt
Monday 22 January 2018 2:24
Forum: Suggestions
Topic: Weather Underground failover suggestion
Replies: 3
Views: 656

Re: Weather Underground failover suggestion

Would be really awesome to include in hardware page
by gajotnt
Friday 05 January 2018 1:12
Forum: Bash / PowerShell / Batch etc.
Topic: Script to get JPEG snapshot from RTSP-stream (ffmpeg)
Replies: 48
Views: 66290

Re: Script to get JPEG snapshot from RTSP-stream (ffmpeg)

Hello tried this but im getting lots of errors during the script and then eventualy it makes the snapshot Code im using: avconv -rtsp_transport tcp -i $rtspUrl -f image2 -vframes 1 -pix_fmt yuvj420p $SnapFile Results in (it works, just gives alot of errors): avconv version 11.11-6:11.11-1~deb8u1+rpi...
by gajotnt
Thursday 04 January 2018 20:12
Forum: Other questions and discussions
Topic: Take snapshot with camera when ringing doorbell
Replies: 7
Views: 2565

Re: Take snapshot with camera when ringing doorbell

Looks like FFMPEG isint available. Had to use: apt-get install libav-tools Guess that now for me to send photos instead of video it should be something like this (will try as soon as I get home): #!/bin/sh now=$(date +"%T") SnapFile="/var/tmp/frontdoorcam.jpg" # Temp name of the photo, change it whe...