A very simple question, hard answer (for me)

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
schulpr
Posts: 137
Joined: Thursday 01 January 2015 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

A very simple question, hard answer (for me)

Post by schulpr »

Hello,

I'm trying to update a variable with text but I can't find the solution. This: domoticz.variables('var_buienradar').set(0) works perfect for an integer but I can't get it working for a string.

Has anyone a solution for this?

Thanks in advance!

Rob
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: A very simple question, hard answer (for me)

Post by dannybloe »

That's correct. It's a bug that I fixed yesterday. But first our next pull request has to be merged into domoticz before I can merge this fix. Hopefully this will be done soon.
I can send you a patch if you want to.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
schulpr
Posts: 137
Joined: Thursday 01 January 2015 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: A very simple question, hard answer (for me)

Post by schulpr »

Hi,

I it's not much trouble for you, please do. I don't know when we will receive an update in this summer time.

Thanks for all your efforts!

Rob
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: A very simple question, hard answer (for me)

Post by dannybloe »

The pull request is merged. I am now almost done preparing dzVents 2.1 that will have this fix. Plan to release it today.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest