<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to v5bugreports</title><link>https://sourceforge.net/p/grasshopperwebapp/v5bugreports/</link><description>Recent changes to v5bugreports</description><atom:link href="https://sourceforge.net/p/grasshopperwebapp/v5bugreports/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 10 Nov 2016 07:44:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/grasshopperwebapp/v5bugreports/feed.rss" rel="self" type="application/rss+xml"/><item><title>#1 Permission problem / DB control point status</title><link>https://sourceforge.net/p/grasshopperwebapp/v5bugreports/1/?limit=25#fe59</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;HI! Unfortunately grasshopper v5 looks a bit unfinished in points - like your mentioned update of the status and the integration of alarm systems and my best guess is they quit development. &lt;/p&gt;
&lt;p&gt;i had a look into the status problem and i think its because they left an old version in there... it uses mysql, which is not installed and a different database name. &lt;/p&gt;
&lt;p&gt;so what i did was install termsql (details how to do that on their github &lt;a href="https://github.com/tobimensch/termsql" rel="nofollow"&gt;https://github.com/tobimensch/termsql&lt;/a&gt;) and then changed the contents of /var/www/exec/import_status/preparedb.sh to&lt;/p&gt;
&lt;table class="codehilitetable"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="linenos"&gt;&lt;div class="linenodiv"&gt;&lt;pre&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
python /var/www/exec/monitor/SendCommand.py &lt;span class="s1"&gt;'*#1*0##'&lt;/span&gt; &amp;gt;/var/www/exec/import_sta&lt;span class="err"&gt;$&lt;/span&gt;
sed -i &lt;span class="s1"&gt;'s/*/,/g'&lt;/span&gt; /var/www/exec/import_status/lightstatus.txt
sed -i &lt;span class="s1"&gt;'s/^,//g'&lt;/span&gt; /var/www/exec/import_status/lightstatus.txt
sed -i &lt;span class="s1"&gt;'s/##/,,/g'&lt;/span&gt; /var/www/exec/import_status/lightstatus.txt
sed -i &lt;span class="s1"&gt;'1 i\btgroup,status,btaddress,timestp,ownframe'&lt;/span&gt; /var/www/exec/import_sta&lt;span class="err"&gt;$&lt;/span&gt;

&lt;span class="c"&gt;#sqlite3 /var/www/db/grasshopper.sqlite &amp;lt;/var/www/exec/import_status/lightstatu$&lt;/span&gt;
termsql -i /var/www/exec/import_status/lightstatus.txt -1 --csv -t pointstatus &lt;span class="err"&gt;$&lt;/span&gt;

&lt;span class="c"&gt;#mysql --local-infile=1 -u root --database=domotica --verbose &amp;lt;/var/www/exec/im$&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;Let me know if it works for you - its was just a quick shot (i dont own a bticino myself yet and just tested this at a friends house for 10 minutes - there it worked). if you need any help let me know. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Horvath</dc:creator><pubDate>Thu, 10 Nov 2016 07:44:46 -0000</pubDate><guid>https://sourceforge.netca77768b701a46a5a467180532166e846d3d4ddf</guid></item><item><title>#1 Permission problem / DB control point status</title><link>https://sourceforge.net/p/grasshopperwebapp/v5bugreports/1/?limit=25#4aa2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Now I could further identify the problem:&lt;br/&gt;
- when I restart grasshopper it will correctly identify the status settings. &lt;br/&gt;
- the first device connecting can change the status correctly.&lt;br/&gt;
- all other devices connecting afterwards can change the status, but it will still display the one set by the first device.&lt;br/&gt;
- so I assume it is a permission problem when several devices are connecting.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alpenboy</dc:creator><pubDate>Sat, 06 Feb 2016 08:37:32 -0000</pubDate><guid>https://sourceforge.net9c8e194db54fcdb9177b0dfd1edc4c2d3ae05ebb</guid></item><item><title>Permission problem / DB control point status</title><link>https://sourceforge.net/p/grasshopperwebapp/v5bugreports/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;First let me send you a big Thank you for this great application!&lt;br/&gt;
I installed it on a raspberry pi B with the new bticino basic gateway F455 (much cheaper than the other options) and it was really easy - even for me with my basic knowledge of linux.&lt;/p&gt;
&lt;p&gt;However I found to have a problem:&lt;br/&gt;
- When I first set all my control points in the web setup it correctly detected that one of them was turned on (living room ceiling light). All others were off.&lt;br/&gt;
- Somehow this setting of the living room ceiling light is now stored permanently. Even when I click it it doesn't change the information (although it does send the right commands to the gateway and the lights are actually turned on/off). Also all the other lights information is remaining to this first setting (which was OFF) &lt;br/&gt;
- I entered the database with phpliteadmin and there I found the problem: obviously the set status in the rows cannot be changed. The living room ceiling light is the only one with status "1", all other are "0". However, if I try to edit it I get the alert: "ERROR: attempt to write a readonly database".&lt;br/&gt;
- But I can still add and delete control points over the web setup and turn them on/off, I just can't alter the status setting in the database when clicking on the web app... is there a permission problem? &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alpenboy</dc:creator><pubDate>Thu, 28 Jan 2016 21:08:52 -0000</pubDate><guid>https://sourceforge.nete19990e56c01db0340b22309d4edf8597ff72f90</guid></item></channel></rss>