Software: modifications and extensions Toon

Everything about software tools, new software development and toolchains. For developers, mostly.

Moderators: marcelr, TheHogNL, Toonz

Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Software: modifications and extensions Toon

Post 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
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Software: modifications and extensions Toon

Post by marcelr »

Hmmm ... doesn't show up on mine. What's your FW version?
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Software: modifications and extensions Toon

Post 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.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Software: modifications and extensions Toon

Post by marcelr »

OK, will give it a shot.

And then what? Any idea how to crank it up?
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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.
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Software: modifications and extensions Toon

Post by marcelr »

opkg remove toonstore

or edit /etc/hosts manually to reflect the contents of /etc/hosts.toonstore_backup
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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 ?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Software: modifications and extensions Toon

Post by TheHogNL »

Yes. Updating from the original source only works from over the VPN
Member of the Toon Software Collective
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Software: modifications and extensions Toon

Post by marcelr »

The updater by Quby regenerates the package cache as well. Just running opkg upgrade is not enough for that.
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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).
Attachments
webcam-0.0.5.zip
Webcam app for Toon
(4.92 KiB) Downloaded 496 times
phoenixb
Advanced Member
Advanced Member
Posts: 512
Joined: Thu Jul 23, 2009 1:00 pm
Location: Netherlands

Re: Software: modifications and extensions Toon

Post by phoenixb »

@makkie2002, nice script! Will it also possible to use the qtwebkit to load simple html pages?
__________________
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Software: modifications and extensions Toon

Post 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.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Software: modifications and extensions Toon

Post 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.
member of the Toon Software Collective
Post Reply

Return to “Toon software development”