Author Topic: DataYours - monitoring energy usage  (Read 10419 times)

Offline d55m14

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: +7/-1
Re: DataYours - monitoring energy usage
« Reply #75 on: September 13, 2017, 05:53:38 am »
Hi akbooer,

I hope everything's ok .

I want to add  another variable to DataUser.lua routine to duplicate the whisper file : for example Temperature and generate a MaxTemp file with another Schemas/Aggregation. Could the attached routine be ok ?

tnks

donato
« Last Edit: September 14, 2017, 10:13:49 am by d55m14 »

Offline d55m14

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: +7/-1
Re: DataYours - monitoring energy usage
« Reply #76 on: September 19, 2017, 02:52:16 pm »
Hi akbooer,

excuse me  when not busy can you check the modified datauser routine I modified ?

Tnks very much

Donato

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 5227
  • Karma: +226/-67
  • "Less is more"
Re: DataYours - monitoring energy usage
« Reply #77 on: September 20, 2017, 01:10:23 pm »
I completely missed your original post, so thanks for the reminder.

Yes, that looks OK.  Have you tried it yet?
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P.
Razberry, MySensors Arduino, HomeWave, AltUI, DataYours, openLuup, ZWay, ZeroBrane Studio.

Offline d55m14

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: +7/-1
Re: DataYours - monitoring energy usage
« Reply #78 on: September 20, 2017, 01:42:15 pm »
Hi akbooer,

no problem. not yet tested. now after your check I'll try it ;-)

tnks tnks

donato

Offline d55m14

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: +7/-1
Re: DataYours - monitoring energy usage
« Reply #79 on: September 20, 2017, 05:33:49 pm »
Hi akbooer,

I've tested the modified Datauser.lua but I get an error msg. I've attached the relative log.

I suppose an error in the code.

tnks

donato

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 5227
  • Karma: +226/-67
  • "Less is more"
Re: DataYours - monitoring energy usage
« Reply #80 on: September 20, 2017, 05:38:08 pm »
Yes.
Line 32.
Delete the 'end' before the 'elseif'.

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P.
Razberry, MySensors Arduino, HomeWave, AltUI, DataYours, openLuup, ZWay, ZeroBrane Studio.

Offline d55m14

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: +7/-1
Re: DataYours - monitoring energy usage
« Reply #81 on: September 20, 2017, 05:42:38 pm »
Yes.
Line 32.
Delete the 'end' before the 'elseif'.

You're great.... thank you very much