Author Topic: MultiString Plugin  (Read 17241 times)

Offline jjwalker

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +0/-0
Re: MultiString Plugin
« Reply #30 on: March 02, 2015, 09:09:52 pm »
Ugh, I got it to work.  I'm so dense with this stuff.  I finally realized what you're saying about lul_device (well I don't complete understand lul_device... but I will read about it).  I ended up putting the device ID of multistring in there and now it works.


Thank you so much for the insight!

Offline jjwalker

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +0/-0
Re: MultiString Plugin
« Reply #31 on: March 03, 2015, 01:41:36 pm »
Oh and I forgot, thank you for this plugin!

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: MultiString Plugin
« Reply #32 on: March 03, 2015, 01:52:39 pm »
Oh and I forgot, thank you for this plugin!

You are welcome. I hope that you find it useful.

Offline mvzut

  • Sr. Newbie
  • *
  • Posts: 32
  • Karma: +1/-4
Re: MultiString Plugin
« Reply #33 on: March 07, 2015, 04:50:23 pm »
BTW the plugin works well with the ImperiHome Android app.

My experience is slightly different... The MultiString information is shown in Imperihome, but the order is sometimes incorrect. In two of the three Multistring devices I have created, the variables are shown in the wrong order in Imperihome: V2, V1 in one case, and V2, V3, V1, V5, V4 in another. Any idea how this is possible? Could it be a plugin issue, or is it an Imperihome problem? The order is correct in the Vera UI (UI7).
Vera Edge - 5 x Zwave module (switch/door/water/siren) - RFXtrx interface - ~30 KAKU modules (switch/PIR/smoke) - Netatmo - 6 x Philips Hue - P1 Smart Meter - Opentherm Gateway - Logitech Harmony Hub - 2 x Foscam R2 - 2 x Hikvision DS-2CD2132F-I - Imperihome

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: MultiString Plugin
« Reply #34 on: March 07, 2015, 05:36:44 pm »
Quote
Could it be a plugin issue, or is it an Imperihome problem?

I don't use Imperihome so I have not seen the problem. Does it, by any chance, sort the variables in the order of the names loaded for Variable1, Variable2 .. Variable5?

Offline jjwalker

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +0/-0
Re: MultiString Plugin
« Reply #35 on: March 07, 2015, 05:38:51 pm »
I'm on UI5 and it works in Imperihome.  If I rename a variable, then it shifts it out of order.

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: MultiString Plugin
« Reply #36 on: March 07, 2015, 05:43:20 pm »
Quote
If I rename a variable, then it shifts it out of order.

Thanks @jjwalker. That's what I suspected might be happening.

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5575
  • Karma: +150/-367
Re: MultiString Plugin
« Reply #37 on: March 07, 2015, 06:04:01 pm »
Yes it does appear to sort it in order on mine.

EDIT: Alphabetical order that is.

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: MultiString Plugin
« Reply #38 on: March 07, 2015, 06:15:19 pm »
Yes it does appear to sort it in order on mine.

EDIT: Alphabetical order that is.

I guess if you don't want that to happen, you can arrange your variable names to be in alphabetical order. At the worse you could use: 1. Any name, 2. Another name ...

Offline mvzut

  • Sr. Newbie
  • *
  • Posts: 32
  • Karma: +1/-4
Re: MultiString Plugin
« Reply #39 on: March 07, 2015, 06:15:29 pm »
Yes, they are indeed in alphabetical order. Didn't notice that at first, it seemed random. Nevertheless, for me (and I think for most) this behaviour is not desired... Surely there must be a more elegant way than numbering to get them in the right order again?
« Last Edit: March 07, 2015, 06:17:12 pm by mvzut »
Vera Edge - 5 x Zwave module (switch/door/water/siren) - RFXtrx interface - ~30 KAKU modules (switch/PIR/smoke) - Netatmo - 6 x Philips Hue - P1 Smart Meter - Opentherm Gateway - Logitech Harmony Hub - 2 x Foscam R2 - 2 x Hikvision DS-2CD2132F-I - Imperihome

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: MultiString Plugin
« Reply #40 on: March 07, 2015, 06:19:51 pm »
Yes, they are indeed in alphabetical order. Didn't notice that at first, it seemed random. Nevertheless, for me (and I think for most) this behaviour is not desired...

Sorry, I can't do much about that in MultiString. The names and order of the variables does not change with the contents. You might see if Imperihome can change the behavior.
 

Offline mvzut

  • Sr. Newbie
  • *
  • Posts: 32
  • Karma: +1/-4
Re: MultiString Plugin
« Reply #41 on: March 07, 2015, 06:23:06 pm »
Hmmm, ok, clear. I posted my question on an Imperihome forum as well, let's see what the reactions are there.
Vera Edge - 5 x Zwave module (switch/door/water/siren) - RFXtrx interface - ~30 KAKU modules (switch/PIR/smoke) - Netatmo - 6 x Philips Hue - P1 Smart Meter - Opentherm Gateway - Logitech Harmony Hub - 2 x Foscam R2 - 2 x Hikvision DS-2CD2132F-I - Imperihome

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
MultiString Plugin on UI7 Firmware 7.0.5
« Reply #42 on: March 10, 2015, 09:09:51 am »
The latest release of UI7 (7.0.5) has changed the way the UI is rendered. It has been necessary to change the json for MultiString to get the variables to display correctly. The new version (1.2) has been submitted to the App Store for approval.

The new layout allows the variable names and values to be a little longer so I have changed the default length limits for both to 32 characters. Note that both parts cannot be this length or they will not fit on the same line.

If you cannot wait for the new release to become available, you could upload the attached file. It will require two reloads and a browser refresh before the device displays correctly.
 

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
MultiString V1.2 Released
« Reply #43 on: March 11, 2015, 08:16:01 pm »
MultiString V1.2 is released in the App Store.

This version is mainly to fix display issues caused by firmware 7.0.5. Other enhancements include:

  • On UI7, variable names and values may now be up to 32 characters wide.
  • Corrected a tiny conversion error for timestamps with millisecond resolution.

Offline niharmehta

  • Sr. Member
  • ****
  • Posts: 322
  • Karma: +14/-0
Re: MultiString Plugin
« Reply #44 on: March 16, 2015, 02:12:54 am »
Rexbeckett . Thanks for this fork of Variable Container.  Your and Richards instructions made the process much easier and so far everything works perfect.
2x VeraLite; 2xTrane Tstats; 45 x Switches/Dimmers/Appliance Modules; 4x Everspring Water Sensors; DSC Integration; 2 x Zwave Door Locks; 1x Ted5K; 1x Rainforest Eagle; Onkyo AVR; 6x Squeezebox;