Search found 68 matches

by gajotnt
Wednesday 12 December 2018 13:29
Forum: Bugs and Problems
Topic: Sonoff basic ESP8266
Replies: 8
Views: 186

Re: Sonoff basic ESP8266

by gajotnt
Wednesday 14 November 2018 14:47
Forum: Design, usability and languages
Topic: 'ThinkTheme' - a new flat design theme
Replies: 44
Views: 57435

Re: 'ThinkTheme' - a new flat design theme

Great theme. Noticed you updated it, gonna update it when i get home :D

Thanks
by gajotnt
Friday 07 September 2018 15:03
Forum: LUA
Topic: LUA Script: Time how much a device is ON
Replies: 18
Views: 4789

Re: LUA Script: Time how much a device is ON

Using this script to easilly know how much time my pool pump has been runing for each day, but havent figured out how to set it up to send me a message when it has reach a certain time, have tried several ways none of it works on this dummy device. tried with just 130 , with 130 minutes , the type t...
by gajotnt
Wednesday 05 September 2018 18:34
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 12
Views: 1041

Re: PowerUsage, and return values without a P1 meter

Check this dzvents script to calculate the wasted power and energy


viewtopic.php?f=59&t=24620&p=190649#p190649
by gajotnt
Wednesday 05 September 2018 18:32
Forum: dzVents
Topic: Electric energy calculation using only usage(watts)?
Replies: 2
Views: 436

Re: Electric energy calculation using only usage(watts)?

Did lots and lots of reading and trial and error finally got this working So "Total" is my main Electricity counter (SDM120) that gives me positive and negative values (when solar panels producing more than the house consumes). The idea is that i have a register of how many Euros I have wasted by no...
by gajotnt
Tuesday 04 September 2018 13:44
Forum: dzVents
Topic: Electric (instant+counter) - Domoticz doesn't compute Energy
Replies: 6
Views: 1686

Re: Electric (instant+counter) - Domoticz doesn't compute Energy

Hello, is there any news on this?

I also have a dummy that doesnt compute the energy usage right. Using a lua script to update the counter.

Dont know how to use the comands posted above :(
by gajotnt
Tuesday 04 September 2018 13:44
Forum: Bugs and Problems
Topic: Missing value at Energy Sensor
Replies: 33
Views: 2000

Re: Missing value at Energy Sensor

Hello, is there any news on this?

I also have a dummy that doesnt compute the energy usage right. Using a lua script to update the counter.

Dont know how to use the comands posted above :(
by gajotnt
Tuesday 04 September 2018 12:02
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 12
Views: 1041

Re: PowerUsage, and return values without a P1 meter

So the only real data you have is the "House" meter right?
And when its negative you want it to update one new dummy meter, and when its positive to update another, right?
by gajotnt
Monday 03 September 2018 18:04
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 12
Views: 1041

Re: PowerUsage, and return values without a P1 meter

Hello, sorry for not replying earlier, did not notice your post.

Yes i understand what you are saying, but i also have the same problem with dummy counters not calculating the usage properly :/
by gajotnt
Sunday 26 August 2018 15:34
Forum: dzVents
Topic: Electric energy calculation using only usage(watts)?
Replies: 2
Views: 436

Electric energy calculation using only usage(watts)?

Hello there, is there anyway to have domoticz receive power used (watts) and then calculate the energy usage? I have a "Total" energy/usage counter, and a "Solar" energy/usage counter, they both work great, but i wanted to have a idea of how much energy i waste, so i tweaked a LUA script to update a...
by gajotnt
Wednesday 18 July 2018 11:42
Forum: Utility
Topic: Question about energy usage
Replies: 18
Views: 1491

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: 12
Views: 1041

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: 41
Views: 3408

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 587 times
by gajotnt
Friday 13 July 2018 18:19
Forum: LUA
Topic: PowerUsage, and return values without a P1 meter
Replies: 12
Views: 1041

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: 41
Views: 3408

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: 12
Views: 1041

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: 12
Views: 1041

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: 12
Views: 1041

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: 1491

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: 1491

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