Page 17 of 21

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 8:40 pm
by Ierlandfan
@MarcelR, what do you mean exactly because this is my output of opkg (On Toon)

eneco-XXX-XXX:~# opkg list |grep mosq
libmosquitto - 1.4.9-r0 - Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model.
libmosquittopp1 - 1.4.9-r0 - Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model.
mosquitto - 1.4.9-r0 - Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model.
mosquitto-clients - 1.4.9-r0 - Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model.

eneco-XXX-XXX:~# opkg list-installed |grep mosq
mosquitto - 1.4.9-r0

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 8:48 pm
by marcelr
Hmmm ... doesn't show up on mine. What's your FW version?

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 8:56 pm
by Ierlandfan
eneco-XXX-XXX:/etc# opkg update
Downloading http://feed.hae.int/feeds/qb2/ene/4.4.21/Packages.gz.
Inflating http://feed.hae.int/feeds/qb2/ene/4.4.21/Packages.gz.
Updated list of available packages in /var/lib/opkg/base.
Downloading http://feed.hae.int/feeds/qb2/ene/4.4.21/Packages.sig.
Signature check passed.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ackages.gz.
Inflating http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ackages.gz.
Updated list of available packages in /var/lib/opkg/oebase.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ckages.sig.
Signature check passed.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ackages.gz.
Inflating http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ackages.gz.
Updated list of available packages in /var/lib/opkg/oekern.
Downloading http://feed.hae.int/feeds/qb2/oe/2.6.36 ... ckages.sig.

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 8:57 pm
by marcelr
OK, will give it a shot.

And then what? Any idea how to crank it up?

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 11:40 pm
by makkie2002
How do I get the original repositories active again so that I can install new packages?
Now the opkg repositories are linked to Toonstore.

Re: Software: modifications and extensions Toon

Posted: Mon Sep 04, 2017 11:40 pm
by makkie2002
How do I get the original repositories active again so that I can install new packages?
Now the opkg repositories are linked to Toonstore.

Re: Software: modifications and extensions Toon

Posted: Tue Sep 05, 2017 8:45 am
by marcelr
opkg remove toonstore

or edit /etc/hosts manually to reflect the contents of /etc/hosts.toonstore_backup

Re: Software: modifications and extensions Toon

Posted: Tue Sep 05, 2017 8:18 pm
by makkie2002
marcelr wrote:opkg remove toonstore

or edit /etc/hosts manually to reflect the contents of /etc/hosts.toonstore_backup
Do I also have to enable the vpn ?

Re: Software: modifications and extensions Toon

Posted: Tue Sep 05, 2017 8:28 pm
by TheHogNL
Yes. Updating from the original source only works from over the VPN

Re: Software: modifications and extensions Toon

Posted: Wed Sep 06, 2017 12:13 am
by makkie2002
Changed the hosts file as suggested.
Also enabled ovpn again.

But doing "opkg update" still only lists the domoticaforum repository, not the Quby repository.
I can do a "wget http://feed.hae.int/feeds/qb2/ene/4.4.21/Packages.gz" and look which packages are available, so at least the link is working.

Re: Software: modifications and extensions Toon

Posted: Wed Sep 06, 2017 8:43 am
by marcelr
The updater by Quby regenerates the package cache as well. Just running opkg upgrade is not enough for that.

Re: Software: modifications and extensions Toon

Posted: Mon Sep 11, 2017 12:43 am
by makkie2002
makkie2002 wrote:
Can you make a settings part in the app so I can edit the IP/Port/image url via the Toon itself? Like in the Sonos app
I will have to study some other apps to get this functionality in ... but I will manage :o
Study time is over ... I managed to make a selfsustained app!
As default webcam image there is a livefeed from some village in Austria, but it can be replaced by anything else as long as it is an image (not a stream).

Re: Software: modifications and extensions Toon

Posted: Mon Sep 11, 2017 10:25 pm
by phoenixb
@makkie2002, nice script! Will it also possible to use the qtwebkit to load simple html pages?

Re: Software: modifications and extensions Toon

Posted: Mon Sep 11, 2017 11:10 pm
by makkie2002
phoenixb wrote:@makkie2002, nice script! Will it also possible to use the qtwebkit to load simple html pages?
Thanks ... no html pages are retrieved ... the script only downloads plain jpg files every 4 seconds.

Re: Software: modifications and extensions Toon

Posted: Tue Sep 12, 2017 12:04 am
by Toonz
phoenixb wrote:@makkie2002, nice script! Will it also possible to use the qtwebkit to load simple html pages?
No, Toon has no browser functionality. You can retrieve html pages via http (no https) and get the html source as plain text. There is no html rendering.