Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sambuca

Pages: [1] 2 3 ... 30
1
Users / Re: Energy Monitor configuration?
« on: March 18, 2014, 07:35:38 am »
I'm not sure there are much documentation unfortunately. If there are any, it should be in the wiki.

But look in the lmce_datalog database, there are only a handful of tables there, so it should be fairly easy to see the connections.
The query you posted also references the main pluto_main database, more specifically, the Device and Device_DeviceData tables. It does this to look for devices with the "Energy Consumption" device data. (This coupled with the on/off state, as mentioned, is used to calculate total energy usage for that device.)

br,
sambuca

2
Users / Re: Energy Monitor configuration?
« on: March 16, 2014, 11:56:37 am »
If I remember correctly, the energy monitor uses state changes on devices coupled with the user-defined energy usage of said devices to calculate the energy usage. It is not equipped to show anything useful for devices that report exact energy usage.
So for your case, the energy device does not report any state changes, thus no data and you get an error.

If you feel up to it, we would appreciate someone digging into the code (its all in php) and try to get it to support both ways. (For instance, if no state changes are found, look for reported energy usage instead)

br,
sambuca

3
Feature requests & roadmap / Re: Android audio media director
« on: February 28, 2014, 08:43:56 am »
Not out of the box, no.

Qorbiter is the new orbiter software, and has nothing to do with the other media director capabilities (like playback). On a standard MD other pieces of software will take care of the playback, with the orbiter simply acting as a controller/remote. How this will be for qOrbiter I'm unsure about. I know some built-in media playback has been discussed for qOrbiter, but if that is going to be the way, I don't know.

Other possibilities for android are DLNA or the "standard" android media player (standard as in every manufacturer are free to add their own...) Anyway, for it to be a complete MD (at least for playing audio) we need some way to control playback from the LinuxMCE.

br,
sambuca

4
Users / Re: Z-Wave USB Dongle
« on: January 08, 2014, 05:03:14 pm »
Maybe the usb ID of this dongle is not autodetected..?
Look at the output from the "lsusb" command and see if that id exists in the ZWave device template.

br,
sambuca

5
Installation issues / Re: Toshiba RAS-13 IR Codes
« on: November 24, 2013, 07:47:00 pm »
The IR code for this Toshiba air-con are generated by a LMCE GSD device. This means that there are ruby code that generates the IR code. When I first made this, I used an USB-UIRT to receive the IR signal and decode its meaning, then creating a program that generates equal IR code based on the commands from LMCE.

It has been a long time since I made this, so I can't really help except point to the Ruby code in the LMCE device template.

br,
sambuca

6
Feature requests & roadmap / Re: Power consumption selection
« on: November 15, 2013, 05:39:29 pm »
The framework for power reporting exists in LinuxMCE, and is used at least by ZWave, where single devices report their energy usage. One of these devices can be the total for your house. But there are no display of this information in the Orbiter at the moment, only in the datalogger section in the web admin.

But there is no logic in place to turn devices on and off based on total usage. I you might be able to create a crude solution using  events.

br,
sambuca

7
Users / Re: Need some dedicated testers.
« on: November 13, 2013, 09:22:36 pm »
Some random feedback:
* latest build seem to crash on exit (log displays segfault)
* It would be nice to be able to force a device to use the tablet skins (ie. a table with 800x400 resolution will now use the phone skins, but I think the table skin would be more fitting)
* The floor list on the floorplan is only high enough to contain one list item. So when I have three floors, I only see the first one and have to scroll to reach the others.
* In the tablet default skin, when you are in a room without any lighting scenarios, there are no way to open the lighting floorplan.

br,
sambuca

8
Basically, it just involves doing a "select PK_Attribute from Attribute where FK_AttributeType = ? and Name=?", then check if that returned a PK_Attribute value. If it did, reuse that, if not, insert a new item.

br,
sambuca

9
Well, you have PK_Attribute and FK_Attribute, use one or the other ;-)

Another thing to consider is when to re-use an existing attribute.... You could keep adding attribute with the same name, but that would make duplicate attributes in LMCE, not sure you want that...

br,
sambuca

10
Developers / Re: Pictures - improvements to browsing and tagging
« on: October 26, 2013, 11:51:21 pm »
External sync:
* several photo services (including google) supports keywords. The PSS (photo screen saver) is a separate attribute and does not get stored in the file (haven't found a suitable exif attribute).
* I know some windows specification describes another way to tag persons, so that could be implemented if we wanted to....

br,
sambuca

11
Developers / Pictures - improvements to browsing and tagging
« on: October 26, 2013, 10:55:05 pm »
Hi all,

(This post is both to inform of recent changes, but also to ask for future direction regrading picture support)

I've recently been working on improving LMCE support for picture handling. I started with a ticket on trac, including code originally made by "chriss", modifying this, and adding that to updatemedia. Now LMCE will load and store a couple of attributes to and from picture files, most notably the keyword attribute. (but title, manufacturer and date is also supported, but not used in LMCE).
Also:
The orbiter is updated to browse images by keyword.
The screensaver page has been modified to do ajax/real-time updates of keywords and screensaver attributes. (no need to press 'save' at the bottom of the page)

So far so good.. I'm fairly pleased with the result so far. My goal all along has been to make it easy to add (and remove) keywords. This is achieved by using ajax and an all-keyboard approach to adding keywords.

But I'm not done yet. And that is where you come in. I already have some ideas, but I haven't decided 100% yet, so this is your chance to share your thoughts  :)

My current ideas are support for:
* changing the exif orientation of the picture from the screen saver/picture manager page (I have a camera that does not store any exif orientation data, so all pictures not taken in the cameras normal position will be displayed wrong - the file is missing the rotation to correct this, but only for image viewers that support it of course)
* share album/keyword as a folder on the local network. This idea arise from the need to use images in other programs, after being tagged. Say you tag all your Christmas photos in LMCE, and want to send all those to your grandmother, or import them into a photo-book program. Well, once you have done that in LMCE, you should not have to categorize them again in some other program or add them file by file in your email program.
The basic idea is to define some filter to get the files you want, and to make them available in a folder on the network. (This would also be possible to extend to other files types like audio and video, but that is another idea ;) )

I will have to mention that these changes are done in 1204, if you are on 1004, you'll have to wait ;)

So, what do you miss, what do you want, what do you prefer, etc... I have left out some details in my post to make it short, but just add what you want, and I'll consider it!

best regards,
sambuca

12
If you create a script to insert(and/or update) stations in lmce, please try to make it generic and available for other LMCE users. I know this has been requested before, so it would be beneficial...

(I know the html scraping part will be different for different sites, but the script to insert/update channels should be the same)

br,
sambuca

13
Hi,

You can add files and streams of any kind from the web-admin, I think it is the Media File Sync menu. Go to the media file sync page and there should be a "Add new file" or something like that on the left side. I'm not able to double-check right now, but look around in the mentioned places ;)

br,
sambuca

14
Feature requests & roadmap / Re: Turn off MD based on idle time
« on: October 16, 2013, 07:43:32 am »
On a related note, you can also try to suspend your MDs instead of turning them off completely. If this works or not, depends on your hardware and is not enabled by default.
Details are in the wiki.

Generally speaking, the whole system has been designed to stay on at all times, so if you implement this, be sure to make it an option (with the default being like today imo).

I'd say that this could be added to the Orbiter code - I believe it is the one that controls the idle timeout today.

br,
sambuca

15
Users / Re: only one nic - still everything possible
« on: July 15, 2013, 10:19:57 pm »
Network setup with one nic is possible, although it may require some manual changes (I haven't tried the install on a one nic system in a while). But therein lies the potential problems.. unless you are familiar with LMCE and networks in general, you may run into some issues, and if asked, this forum will simply tell you to use two nics. (The important thing is to use LMCE for DHCP, as it seem you already know)

Best regards,
sambuca

Pages: [1] 2 3 ... 30