Page 3 of 3

Re: Survey v2 Released

PostPosted: Thu Sep 14, 2017 8:58 am
by bschollnick2
HFTobeason wrote:
Does this plugin still exist? The Dropbox pages are showing "Does not exist" errors. Thanks.


Yes, it does. I'll take a look at it tonight, and see if I can find out what's happening. Otherwise, I might just put it up on Github....

Re: Survey v2 Released

PostPosted: Thu Sep 14, 2017 10:01 am
by HFTobeason
Thank you.

Specifically,

https://dl.dropboxusercontent.com/u/241415/indigo%20survey/Survey%20v2.21.zip

results in a 404 error:

File not found

Sorry, that file doesn’t live here anymore. It might have been moved or made private.

Re: Survey v2 Released

PostPosted: Thu Sep 14, 2017 5:26 pm
by bschollnick2
HFTobeason wrote:

https://dl.dropboxusercontent.com/u/241415/indigo%20survey/Survey%20v2.21.zip

results in a 404 error:

File not found

Sorry, that file doesn’t live here anymore. It might have been moved or made private.


Thanks. For the meantime, I have placed the Survey plugin onto Github, see https://github.com/bschollnick/indigo_survey/.

It's not perfect, I have to fix the Text files there, and I really should write some additional documentation for it on Github, but you can download the repository and have the working plugin. In addition, if anyone wants to contribute, please feel free.

- Benjamin

Re: Survey v2 Released

PostPosted: Fri Sep 15, 2017 12:11 pm
by HFTobeason
Thank you. Successfully downloaded and ran. Very helpful!

Re: Survey v2 Released

PostPosted: Fri Sep 15, 2017 12:43 pm
by bschollnick2
HFTobeason wrote:
Thank you. Successfully downloaded and ran. Very helpful!



If you have any suggestions for improvements, please feel free to let me know...

Re: Survey v2 Released

PostPosted: Sat Sep 16, 2017 10:02 am
by dduff617
i have successfully run survey plugin in the past, but my last several attempts are failing. i'm still getting this error:
Survey Plugin Total Successes - 135
Survey Plugin Total Failures - 3
Survey Plugin Done processing devices
Survey Plugin Error Error in plugin execution MenuAction:

Traceback (most recent call last):
File "plugin.py", line 329, in survey_1pass_manualUpdate
File "plugin.py", line 311, in make_individual_reports
File "plugin.py", line 184, in make_report
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/survey2.indigoPlugin/Contents/Server Plugin/Cheetah/Template.py", line 1005, in __str__
File "cheetah_DynamicallyCompiledCheetahTemplate_1505575978_86_25526.py", line 136, in respond
TypeError: hex() argument can't be converted to hex


it seems the testing part is completing fine, but there's some error in the report generation. i might have been tempted to use my very limited python skills to track down a simple problem within the plugin, this error appears to be buried somewhere inside a contained library (?). together with the fact that i seem to be the only one having this problem, this makes me suspect it may be something that changed in my local python environment... anyone with more python experience have any ideas or suggestions of things i might try to get this working?

thanks.

Re: Survey v2 Released

PostPosted: Sat Sep 16, 2017 10:53 am
by bschollnick2
dduff617 wrote:
i have successfully run survey plugin in the past, but my last several attempts are failing. i'm still getting this error:
Traceback (most recent call last):
File "plugin.py", line 329, in survey_1pass_manualUpdate
File "plugin.py", line 311, in make_individual_reports
File "plugin.py", line 184, in make_report
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/survey2.indigoPlugin/Contents/Server Plugin/Cheetah/Template.py", line 1005, in __str__
File "cheetah_DynamicallyCompiledCheetahTemplate_1505575978_86_25526.py", line 136, in respond
TypeError: hex() argument can't be converted to hex


it seems the testing part is completing fine, but there's some error in the report generation. i might have been tempted to use my very limited python skills to track down a simple problem within the plugin, this error appears to be buried somewhere inside a contained library (?). together with the fact that i seem to be the only one having this problem, this makes me suspect it may be something that changed in my local python environment... anyone with more python experience have any ideas or suggestions of things i might try to get this working?
[/quote]

I'll take a look later today or tomorrow. I haven't seen this error.

The error is literally when the report is being written to the disk.

data_file.write(str(report_template))

Do you have any devices that have non-ascii names? I haven't seen any issues with device naming, but it's possible.
If not, can you ZIP up your database, and send me a copy of it? This way, I can try to test with your database...
If so, please send it to BENJAMIN at SCHOLLNICK dot NET...

Re: Survey v2 Released

PostPosted: Sat Sep 16, 2017 7:21 pm
by dduff617
i have a few modules with a space character that makes them fall at the end of sorted list. i think it may be non-breaking space (option-space). i use this when i have a device that is under direct control of a motion sensor or a door sensor, such that i typically don't want to control it manually, thus i want it to fall to the bottom of lists.

i suppose i could rename them....

example: " motion - Pantry Light"

Re: Survey v2 Released

PostPosted: Sat Sep 16, 2017 8:37 pm
by bschollnick2
dduff617 wrote:
i have a few modules with a space character that makes them fall at the end of sorted list. i think it may be non-breaking space (option-space). i use this when i have a device that is under direct control of a motion sensor or a door sensor, such that i typically don't want to control it manually, thus i want it to fall to the bottom of lists.

i suppose i could rename them....

example: " motion - Pantry Light"


That was a red herring. I found the issue, it's with the cheetah templating.

I assume you have at least some Z-Wave items? The cheetah template is crashing when it hits the zWave item's firmware number, and can't convert it to hex.
I have a temporary fix which prevents any of the firmware versions from being hex encoded (that was indigo & survey are showing the same version #'s for the firmwares).

I need to sit down and change the logic for that for a more permanent fix. I'll try to publish the change tomorrow morning...

- Benjamin

Re: Survey v2 Released

PostPosted: Tue Sep 19, 2017 4:52 pm
by dduff617
yes, i do have a few bluetooth modules.

Re: Survey v2 Released

PostPosted: Thu Dec 14, 2017 2:50 pm
by claudetalbot
bschollnick2 wrote:
dduff617 wrote:
i have a few modules with a space character that makes them fall at the end of sorted list. i think it may be non-breaking space (option-space). i use this when i have a device that is under direct control of a motion sensor or a door sensor, such that i typically don't want to control it manually, thus i want it to fall to the bottom of lists.

i suppose i could rename them....

example: " motion - Pantry Light"


That was a red herring. I found the issue, it's with the cheetah templating.

I assume you have at least some Z-Wave items? The cheetah template is crashing when it hits the zWave item's firmware number, and can't convert it to hex.
I have a temporary fix which prevents any of the firmware versions from being hex encoded (that was indigo & survey are showing the same version #'s for the firmwares).

I need to sit down and change the logic for that for a more permanent fix. I'll try to publish the change tomorrow morning...

- Benjamin


Hi Benjamin,
A few days ago, I installed last available version of Survey on Indigo plugin store. Unfortunately I do experience the exact same issue as dduff617 with same errors reported in my log. I'm using Indigo 7.1.1 on iMac running 10.12.6.
Thanks,
Claude

Re: Survey v2 Released

PostPosted: Thu Dec 14, 2017 4:58 pm
by bschollnick2
claudetalbot wrote:
bschollnick2 wrote:
dduff617 wrote:
i have a few modules with a space character that makes them fall at the end of sorted list. i think it may be non-breaking space (option-space). i use this when i have a device that is under direct control of a motion sensor or a door sensor, such that i typically don't want to control it manually, thus i want it to fall to the bottom of lists.

i suppose i could rename them....

example: " motion - Pantry Light"


That was a red herring. I found the issue, it's with the cheetah templating.

I assume you have at least some Z-Wave items? The cheetah template is crashing when it hits the zWave item's firmware number, and can't convert it to hex.
I have a temporary fix which prevents any of the firmware versions from being hex encoded (that was indigo & survey are showing the same version #'s for the firmwares).

I need to sit down and change the logic for that for a more permanent fix. I'll try to publish the change tomorrow morning...

- Benjamin


Hi Benjamin,
A few days ago, I installed last available version of Survey on Indigo plugin store. Unfortunately I do experience the exact same issue as dduff617 with same errors reported in my log. I'm using Indigo 7.1.1 on iMac running 10.12.6.
Thanks,
Claude


I'll take a look, I *thought* that fix was included in the code that I sent up to Github.

- Benjamin

2021 Compatibility

PostPosted: Sun Dec 26, 2021 4:19 pm
by kennybroh
Any chance of a new version?

Re: 2021 Compatibility

PostPosted: Sun Dec 26, 2021 5:28 pm
by bschollnick2
kennybroh wrote:
Any chance of a new version?


I'm open for creating a new version, but I don't have any specific ideas for improvements.

Are you having any issues? Or have any suggestions for improvements?

- Benjamin

Re: Survey v2 Released

PostPosted: Wed Sep 14, 2022 8:50 am
by tailwheel
It appears that the Survey plugin may/will not be compatible with future Indigo versions. Is an update planned?

A feature that I'd find helpful is to have the survey run on a selected set of devices instead of everything.

Thanks for all your work on this very useful plugin!