Thanks siewert for your help. I just found in the stickies a file for custom functions that includes an array parser that serves my purpose. I'm doing tests.
Anyways, thank you.
Enviado desde mi MI 5s Plus mediante Tapatalk
Search found 39 matches
- Wednesday 28 November 2018 22:20
- Forum: LUA
- Topic: Operate power values
- Replies: 2
- Views: 374
- Wednesday 28 November 2018 20:50
- Forum: LUA
- Topic: Operate power values
- Replies: 2
- Views: 374
Operate power values
I'm trying to process the values of several power devices to find the difference. Is there a way to directly get the Watts value of a power (usage) sensor without manually fiddling with separators? Like value = otherdevices['Lighting'][0].Value What I'm trying to calculate is: total = otherdevices ...
- Thursday 05 October 2017 14:22
- Forum: LUA
- Topic: LUA script for Sony Bravia TV
- Replies: 48
- Views: 46664
Re: LUA script for Sony Bravia TV
Seems that since the last AndroidTV update the TV access is broken.
Does someone has the same problem?
Edit: Well, seems that network autentication configuration changed and I had to re-set the parameters.
All is still working.
Does someone has the same problem?
Edit: Well, seems that network autentication configuration changed and I had to re-set the parameters.
All is still working.
- Monday 21 August 2017 17:19
- Forum: Z-Wave
- Topic: Aeon labs micro switch Node error when switching from wall
- Replies: 10
- Views: 2697
Re: Aeon labs micro switch Node error when switching from wa
The behaviour is the following: After a full system restart. Trough Domoticz I can switch on and off the light. The schedule (it's the porch light) works as expected. Then one of this: 1- If you switch using the wall switch, seems only switching off, domoticz looses the light state. after that, if ...
- Sunday 19 February 2017 20:06
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
Congratulations! Good job! [emoji106]
Enviado desde mi A0001 mediante Tapatalk
Enviado desde mi A0001 mediante Tapatalk
- Wednesday 25 January 2017 21:18
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
[emoji6] [emoji106]
Enviado desde mi A0001 mediante Tapatalk
Enviado desde mi A0001 mediante Tapatalk
- Wednesday 25 January 2017 20:37
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
Ok
Enviado desde mi A0001 mediante Tapatalk
Enviado desde mi A0001 mediante Tapatalk
- Wednesday 25 January 2017 20:22
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
I'll also try it and tell you if it also solves the wrapping buttons in Spanish.
Enviado desde mi A0001 mediante Tapatalk
Enviado desde mi A0001 mediante Tapatalk
- Wednesday 25 January 2017 14:56
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
Hopefully someone will implement it with local fonts ;-) I've done nice things with embedded elements in css, but you must be aware that as the html files get bigger (themselves or linked elements), the whole system gets sluggish. In that case I use a minimizer. But due to the "open" and "runtime ...
- Wednesday 25 January 2017 14:50
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
I also saw that on my iPad the buttons on the Weather tab (which include Forecast) are wrapping to two lines. If I change margin-right: 15 px to margin-right: 12px for .btnsmall, .btnsmall-dis .btnsmall-sel .btnsmall:hover, .btnsmall-sel:hover, .btnsmall-dis:hover this is all showed on 1 line (last ...
- Tuesday 24 January 2017 18:13
- Forum: LUA
- Topic: Get device description
- Replies: 0
- Views: 552
Get device description
Is it possible to get one device's description in Lua, without doing a json call?
It would be nice to have a parameters field for a device for using it on scripts.
It would be nice to have a parameters field for a device for using it on scripts.
- Tuesday 24 January 2017 17:21
- Forum: Design, usability and languages
- Topic: New dark theme
- Replies: 64
- Views: 27813
Re: New dark theme
Nice theme G3rard! I really like it. I like messing with web pages. I'll try to contribute whenever I have time. For example in spanish as the words are much longer, the bottom buttons on switches wrap on to two lines. If you reduce left and/or right margins only two points total on ".btnsmall ...
- Wednesday 09 November 2016 20:29
- Forum: LUA
- Topic: Set value of virtual device with alphanumerical idx
- Replies: 6
- Views: 2941
Re: Set value of virtual device with alphanumerical idx
Look, you're absolutely right. I confused the Id with idx.
Now it works! Well... I feel stupid.
But now, I see that I have two devices with same id. Should that be why I couldn't work with "IsDark" on blocky lately.
It's normal?


But now, I see that I have two devices with same id. Should that be why I couldn't work with "IsDark" on blocky lately.

It's normal?
- Wednesday 09 November 2016 20:04
- Forum: LUA
- Topic: Set value of virtual device with alphanumerical idx
- Replies: 6
- Views: 2941
Re: Set value of virtual device with alphanumerical idx
Thanks pdjm43, but note the problem here is that the destination idx is alphanumerical. Aka "140BD" in my system.pdjm43 wrote:here you go.
...
- Thursday 01 September 2016 13:45
- Forum: Design, usability and languages
- Topic: Themes not loading
- Replies: 8
- Views: 3650
Re: Themes not loading
The connection method shouldn't make a difference while you have a good network configuration, both should be the same.
I had so many problems with web page catching on my application in the past, it's not an easy or nice thing to work on.
Enviado desde mi A0001 mediante Tapatalk
I had so many problems with web page catching on my application in the past, it's not an easy or nice thing to work on.
Enviado desde mi A0001 mediante Tapatalk
- Thursday 01 September 2016 12:21
- Forum: Design, usability and languages
- Topic: Themes not loading
- Replies: 8
- Views: 3650
Re: Themes not loading
Chrome showing: Use of the Application Cache is deprecated on insecure origins. Support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. /#/Dashboard:1 Document was loaded from Application ...
- Tuesday 23 August 2016 15:11
- Forum: LUA
- Topic: Set value of virtual device with alphanumerical idx
- Replies: 6
- Views: 2941
Re: Set value of virtual device with alphanumerical idx
You probably missing some quotes, or forgot to convert a type. Post your code, so we can look at it. Thank you trixwood and sorry, I've been busy from stomach illness. I'm using the script for getting temperature from THB sensor at the wiki. I've been trying some things so the script is messed ...
- Friday 19 August 2016 10:50
- Forum: LUA
- Topic: Set value of virtual device with alphanumerical idx
- Replies: 6
- Views: 2941
Set value of virtual device with alphanumerical idx
Creating a new virtual device seems to always assing an alphanumeric id. I'm trying to give this device a value on a lua script without success. Update device always expects an integer idx and doesn't set my virtual temperature device. And a commandArray assign throws error as well: Error ...
- Tuesday 09 August 2016 6:25
- Forum: Temperature and Weather
- Topic: Scraping only the temperature from WeatherUnderground sensor
- Replies: 63
- Views: 28230
Re: Scraping only the temperature from WeatherUnderground sensor
The script doesn't work anymore as now it seems that the virtual sensors id's are alphanumeric. I'll search for updating a sensors with an alphanumeric id, but if anyone knows how to do it I'll be appreciated.
- Sunday 07 August 2016 17:00
- Forum: Other questions and discussions
- Topic: Deregister and re-registering a MySensors node?
- Replies: 2
- Views: 1198
Re: Deregister and re-registering a MySensors node?
Thanks Rolo. I found that updating the gateway configuration reloads it without shutting down Domoticz.
It also forces Domoticz to connect back to wifi gateways when it stops doing so (frecuent on beta v3)
It also forces Domoticz to connect back to wifi gateways when it stops doing so (frecuent on beta v3)