chrid / raumserver Goto Github PK
View Code? Open in Web Editor NEWRaumserver - A HTTP Request Server to control the RF-Multiroom System
Raumserver - A HTTP Request Server to control the RF-Multiroom System
Some UPNP devices say 'bye bye' only to come back again later. (They are not turned off)
May be a problem in the UPNP-Stack or may be a problem on the UPNP Device itself
2016.04.28 18:43:13.763 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:18.768 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:22.343 DEBUG: UPNP Device found: Universal Media Server(f880d5ef-c6ed-47c2-a1e1-5acd82b9eae1) [Raumkernel::Manager::UPNPManager::onDeviceFound]
2016.04.28 18:43:22.348 DEBUG: Adding device 'Universal Media Server' to manager [Raumkernel::Manager::DeviceManager::addDevice]
2016.04.28 18:43:22.351 DEBUG: Try to create device from device XML [Raumkernel::Devices::DeviceCreator::createDeviceFromDeviceXML]
2016.04.28 18:43:22.354 DEBUG: Media Server device created (uuid:f880d5ef-c6ed-47c2-a1e1-5acd82b9eae1) [Raumkernel::Devices::DeviceCreator::createDeviceFromDeviceXML]
2016.04.28 18:43:22.359 DEBUG: Create ContentDirectory-Proxy for media server uuid:f880d5ef-c6ed-47c2-a1e1-5acd82b9eae1 [Raumkernel::Devices::MediaServer::createProxies]
2016.04.28 18:43:22.366 DEBUG: Create ConnectionManager-Proxy for media server uuid:f880d5ef-c6ed-47c2-a1e1-5acd82b9eae1 [Raumkernel::Devices::MediaServer::createProxies]
2016.04.28 18:43:22.373 DEBUG: Media Server 'Universal Media Server' is now useable! [Raumkernel::Manager::DeviceManager::addDevice]
2016.04.28 18:43:23.772 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:28.777 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:33.781 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:38.785 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:42.784 DEBUG: UPNP Device lost: Universal Media Server(f880d5ef-c6ed-47c2-a1e1-5acd82b9eae1) [Raumkernel::Manager::UPNPManager::onDeviceLost]
2016.04.28 18:43:42.789 DEBUG: Removing device 'Universal Media Server' from manager [Raumkernel::Manager::DeviceManager::removeDevice]
2016.04.28 18:43:42.793 DEBUG: UPNP device 'Universal Media Server' removed [Raumkernel::Manager::DeviceManager::removeDevice]
2016.04.28 18:43:42.797 DEBUG: Media Server 'Universal Media Server' removed [Raumkernel::Manager::DeviceManager::removeDevice]
2016.04.28 18:43:43.789 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
2016.04.28 18:43:48.794 DEBUG: Refreshing UPNP device list [Raumkernel::Manager::UPNPManager::refreshDeviceListThread]
Closing RaumserverInstaller while installing (install progress) will cause the app to never exit!
I have to investigate or to deny close of the Installer while install progress is beeing executed
Since the latest update op Raumfeld firmware the RaumserverInstaller does not work anymore. What has changed in the firmware is that now a user autentication popup (Welcome to Raumfeld (Release 1.57))appears when opening an SSH session to the Raumfeld device. It appears to me that the installer cannot deal with this popup so it says that there is no SSH possible.
If I try to start RaumsrvInstaller in Terminal, this error occurred:
cannot execute binary file
Could someone help me?
THX.
After installing the server with the installer i am starting the server within a ssh session with libsssh. This doesnt work very well. Only a few times it will start. Starting per SSH Clients like bitvise works perfect...
So... I don't really know whats the problem
On 1.60 with a Stereo M device the raumserver is not reachable after switching the device on. Its not in eco Modus. After I cut it from power it worked again.
After some hours in eco mode the same thing happens again.
Hi ChriD,
is it possible to enhance the raumserver with an alarm clock feature, so there is no more need to run a second device/app around the clock to trigger the commands?
(This would reduce complexity and electric power consumption and enhance an alamclock stability)
Idealy the alarmclock takes current local time over ntp and sync with a parametered ntp-server.
Would be great if this feature request will be considered in the future.
Thank You and best Regards,
Tap
hello,
i used TUNEIN but i have minisatip + tvh running so all my listen channels are available direct from my satelite dish -> so i used now my own radio station and i'm not relaying on the internet or some provider.
i always had some problems dropped connection/get new ip from provider,...
no i use the loaduri to connect direct to my favorite streams direct from my satelite dish this works fine - but i don't get the channel logo/name displayed - what needs my interface to provide so this is shown in the webclient like it is for tunein -> logo/name?
any help would be great.
thanks
holli
hello,
this is an extract from my top on my big server:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8916 holli 20 0 4637708 18256 0 S 33,3 0,0 179:34.58 ./raumsrvDaemon
32320 root 20 0 263588 2848 2116 S 10,2 0,0 140:41.15 ./minisatip -O -o obelix 11234 -x 8088 -e 0-3 -t -m 661122334455
5707 libvirt+ 20 0 3378160 2,423g 7532 S 9,9 3,9 1157:32 qemu-system-x86_64 -enable-kvm -name vm-win -S -machine pc-i440fx-1.7,accel=kvm,usb=off -cpu core2duo,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cp+
5935 libvirt+ 20 0 14,061g 0,012t 4104 S 8,3 19,4 828:03.56 qemu-system-x86_64 -enable-kvm -name automic -S -machine pc-i440fx-1.7,accel=kvm,usb=off -m 12288 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 890109b6-b599-83fa+
5586 libvirt+ 20 0 2280616 910520 4580 S 2,6 1,4 371:57.44 qemu-system-x86_64 -enable-kvm -name ipfire -S -machine pc-i440fx-wily,accel=kvm,usb=off -cpu Broadwell,+mpx,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx+
7000 holli 20 0 585948 244788 23276 S 2,6 0,4 181:36.80 /home/holli/AUTOMIC/smgr/../ae/ucsrvwp /home/holli/AUTOMIC/smgr/../ae/ucsrv.ini -svc12871
5868 libvirt+ 20 0 7095260 2,160g 4704 S 2,0 3,4 5796:20 qemu-system-x86_64 -enable-kvm -name webserver -S -machine pc-1.0,accel=kvm,usb=off -cpu Westmere,+abm,+rdtscp,+pdpe1gb,+x2apic,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+pbe,+tm,+h+
7146 holli 20 0 590188 247020 23120 S 1,7 0,4 160:02.22 /home/holli/AUTOMIC/smgr/../ae/ucsrvwp /home/holli/AUTOMIC/smgr/../ae/ucsrv.ini -svc12871
51 root 25 5 0 0 0 S 1,0 0,0 42:36.22 [ksmd]
4338 holli -2 0 16,368g 5044 4956 S 1,0 0,0 89:54.42 ora_vktm_AE
5775 libvirt+ 20 0 9357108 1,791g 4500 S 1,0 2,8 63:06.66 qemu-system-x86_64 -enable-kvm -name web-server -S -machine pc-i440fx-wily,accel=kvm,usb=off -cpu Broadwell,+mpx,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+
7003 holli 20 0 16,381g 2,754g 2,749g S 1,0 4,4 85:14.11 oracleAE (LOCAL=NO)
6336 holli 20 0 583404 238692 22116 S 0,7 0,4 179:20.18 /home/holli/AUTOMIC/smgr/../ae/ucsrvwp /home/holli/AUTOMIC/smgr/../ae/ucsrv.ini -svc12871
6339 holli 20 0 16,377g 2,688g 2,683g S 0,7 4,3 80:40.06 oracleAE (LOCAL=NO)
7152 holli 20 0 16,389g 2,729g 2,723g S 0,7 4,3 73:18.36 oracleAE (LOCAL=NO)
9269 holli 20 0 40952 4004 2984 R 0,7 0,0 0:00.20 top
so you can see that the raumserver is always on top - i did not run any request's against this deamon - so this process takes much more cpu than all my vm's running on that box...
any idea?
holli
Hi,
ist es mit dem Raumserver auch möglich die Eingänge durchzuschalten?
Also Aux, TV, Optisch.
Ich wäre auch über einen Tipp, wie es mit Upnp gehen soll, ewig dankbar.
Habe da sämtliche XMLs durchgeguckt und finde absolut nichts passendes.
Habe auch schon das komplette Internet danach abgesucht (2x) und wurde nicht fündig.
Du scheinst dich damit am besten auszukennen.
Schon mal vielen Dank.
MfG
Kenny
Hi. Is it possible to integarte Homeserver in Homebridge?
To control with Siri
A "Currently Playing" feature would enhance the usage of Raumserver with any http-based HomeAutomation connection.
With the current set of features, one can send Home-information to Raumfeld via Raumserver (e.g a door bell, alarm, reminder,...).
However, after the Home-information was played on Raumfeld devices, there is no way to switch back to the music, radio, playlist,... that was "Currently Playing".
hello,
i tried to build the cloned repositories but all failed with the make to the target directory because within the repo's the 'libs/_tmpBuild' directory is missing...
please add to the build files just one line f.ex.: buildX64.sh
#!/bin/bash
mkdir -p libs/_tmpBuild
...
so the next time i pull - i don't to change it again
thanks
holli
PS: within the 'Raumserver/source/RaumserverDaemon/bin/linux_x64' are the new compiled binaries but the xml is named 'raumserver.xml' and on starting i got 'Can not open settings file '...settings.xml' so i created a symlink 'ln -s raumserver.xml settings.xml' and now i get '{"raumkernelLib":"1.0.2","raumserverLib":"1.0.2"}' -> cool
Create an installer for windows and Linux which will copy (install) the raumserver app to a raumfeld device (linux/ARMV7)
There should be a GUI (can be a command line too) which shows all the available raumfeld devices and a info if already a raumserver app is installed on one of those devices. The user may choose a device and then the installer will download the latest version of the raumserver and then copy/install it to the device.
Create a Web Client for the Raumserver Settings (General Settings, presets, events, ...)
Hi Chris and thank you for the nice work! 👍
Mainly for my own devices (2 x One S) and my always-on QNAP I wanted to use a docker container instead of playing around with the devices itself. Just got it working and I really like, what you did! Since there are quite a few reported issues, I do not want to stress new ones, but maybe just mention, that it would be great, if
Kudos go to you and keep up the good work, if anybody needs a docker container too - it's a public image:
https://hub.docker.com/r/gutmensch/raumserver/
Cheers
Robert
My experience:
Win10 64Bit : gives 0xc000007b (mixing 32/64bit arch)
WinXP 32Bit : is no valid 32Bit Program
Linux 32Bit : nope: raumsrvInstaller: ELF 64-bit LSB executable, x86-64
Linux 64Bit (Centos 7 and Ubuntu 14.04) both throws [includes/sciter/sciter-x-api.h] Unable to load library: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/parallels/Downloads/libsciter-gtk-64.so) But only when you start it over CLI. No response at all with GUI.
P.S. I would prefer some simple bash/powershell script to do the remote install. (Copy some Files over SSH and manipulate one or two config files?) No fiddling with libraries...
Solution for Ubuntu: Install gcc4.9(!)
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
Add an application icon to the app
The app has some wstring to string conversions which i have to recreate for linux
Create a deamon for Linux based systems
Allow-Origin Header for JSON Requests for 3rd party Clients
It seems to be that there are some critical errors when using eual pointer to objects at the same time when threading. I thought i have designed the whole kernel to be very thread safe but it seems that there are some cases wich cause problems. For this i have to add a sigsegv handler which will return the stacktrace where the error occured.
"backtrace.h" lib runs well for X64 linux but on ARM there is only one line of stack whic is not very usefull, so i switched to another lib (libunwind). This works well on X64 too but i have to cross compile it for ARMv5 and ARMv7 with but there are some errors with my toolchain :-/
Hello,
I downloaded the most recent RaumServer from Bassmaniacs and use it in my Raumfeld environment with multiple Raumfeld devices. My central device is a Raumfeld Expand. Sometimes, when a device is playing, it stops when I send commands to another Raumfeld device with Raumserver. In the application.log I can find the log record 'Result XML from device does not contain DIDL-Lite block!' at the time that happens. I then have to send the 'play' command to the device that stopped to have it playing again.
I have this problem both on a Windows as a Linux (Fedora 21) installation.
Does anybody know how to solve this?
Regards,
Ron Witkamp
In version 1.0.1 Access-Control-Allow-Origin: *
has been added to the Raumserver configuration making it possible to access the server's JSON objects through CORS. However, long polling through CORS is still not fully supported. Chrome for example returns:
Refused to get unsafe header 'updateId'
It seems that "updateId" has not been whitelisted in Access-Control-Expose-Headers. Could you please add the following to the server configuration:
Access-Control-Expose-Headers: updateId
Thanks and keep up the great work! :)
Statically link to the VS2013 runtimes, instead of using dynamic linking to the runtime DLLs.
We can set this in the IDE through project settings under C/C++ > Code Generation > RunTime Library > Multi-threaded (/MT) or (/MTd). All the needed code will be compiled into theapp, which will make the files bigger, but will avoid ti have the Visual C++ 2013 runtimes installed
Hi
Is there a noob step by step manual to install on raspberry?
add the ability to show info to the user if a new raumserver installer version or a new raumserverDaemon Version is online.
The raumserverDaemon Version should be automatically downloaded (via FTP) when installing on a rf device.
I installed raumserver on a raspberry pi and after solving a few dependency troubles, it seems to start up just fine. According to the logfile, all three of my Raumfeld devices are being discovered and continuously monitored. sudo netstat -plant | grep "raum"
tells me that the server is up and running, connected to my Raumfeld controller and listening to 0.0.0.0:8080
.
But whenever I try to connect to the server on port 8080 (I tried via browser, telnet and curl), I get an empty response.
So, I'm not sure if there's a bug, an error in my configuration or if I am missing something – but if anybody could point me in the right direction, I would be very thankful.
We have to return an error when a request should be queued and the system is not ready
i have to update the sciter library used by the installer
hello,
i need to get the states of all rooms and i found that the (webfrontend) is using 'getrendererstate'
so i make follwoing request
curl --tcp-nodelay --max-time 5 "http://x.x.x.x:8080/raumserver/json/getrendererstate?_" |json -aM .value |json -aM .zoneName .volume .transportState .zoneUDN > /home/dss/ds/raumfeld/state.txt
this returns only:
dss@fernsehen:~/ds/raumfeld$ cat state.txt
Schlafzimmer 20 STOPPED uuid:xxx
Bad 29 PLAYING uuid:xxx
Kueche 22 STOPPED uuid:xxx
but the R in the raumserver return's all rooms - so how do i get all rooms and states?
ROOM: wc-og (uuid:xxx)
ROOM: Wohnzimmer (uuid:xxx)
ROOM: Schlafzimmer (uuid:xxx)
ROOM: Bad (uuid:xxx)
ROOM: Kueche (uuid:xxx)
thanks
holli
hello,
i use the raumserver on windows but if i do a hostconfig change than the rauserver aborts (access violation).
thanks
holli
The Installer crashes in windows on closing.
But only in "release Mode"
Dachte PlayMode SHUFFLE schaltet einfach die Zufallswiedergabe ON/OFF.
Wenn ich damit das Gleiche erreiche, wie unter Playlist/Zufallslisten/My
Music Suffle, so bin ich auch am Ziel :-)
Allow load of random music playlist
eg.:
/loadRandomContainer?id=Wohnzimmer
--> Do in kernel
Hi!
Do you have a way to restart the server with html or php when it crashs ? (it's happen about every 2-3 days and i really don't know why). And can you tell me as newby how I can change the html page (on the web server - to implement a new homepage - i didn't find it.
Thanks a lot
there are no binaries in the installation package available. (linux and win)
Hi,
is there a manual to install the raumserver manually?
Or how can I do it?
BR
Kenny
Hallo,
wie kann ich den Raumserver auf einem Windows 7 Rechner installieren?
Die Files für Linux kann ich herunterladen, für Windows habe ich nichts gefunden außer Installer, der aber doch nur für die Installation auf einem Raumfeld Device ist, oder?
Gruß
Hans
Hi ChriD!
Vorab großes Dankeschön, dass durch dich endlich mal auch Raumfeld bei Interconnectivity vorne mitspielt!
Ich möchte Raumfeld mit FHEM über Raspberry Pi 2b nutzen und versuche daher deinen RaumServer zu installieren. Bislang bin ich gescheitert - wahrscheinlich durch meine Unerfahrenheit mit Raspbian Scripting.
Ich habe den RaumServer ARMv6 runtergeladen, entpackt und dann den ganzen Ordner mit RWX-Rechten versehen. Beim Starten von raumServerStart.sh startet der Server und bricht immer wieder mit "terminate called after throwing an instance of 'OpenHome::NetworkError'" ab.
Voran könnte dies liegen?
Wie kann ich dann den RaumServer auf dauerbetrieb halten ohne Abbruch durch Schließen des Terminals?
Und schließlich, wie kann ich den einmal laufenden RaumServer in FHEM einbinden?
Beste Grüße,
Alex
When the RF-System does its update, the raumserver is beeing deleted (if installed on a RF device)because a new Image is beeing installed on the device. Maybe there is a way to prevent this problem?
i´ve started the daemon manually. after some hours it shuts down - with no warnings in syslogs.
the last lines of "log" (repeating hundred times)
2016.10.08 23:00:05.009 DEBUG: Try to create new request: http://192.168.2.140:47365/getZones [request]
2016.10.08 23:00:05.009 ERROR: Resource temporarily unavailable [requestHandlerThread]
2016.10.08 23:00:05.048 DEBUG: Emitting signal for finished requests [requestHandlerThread]
2016.10.08 23:00:05.049 DEBUG: Zone configuration request finished [zoneRequestFinished]
2016.10.08 23:00:05.049 DEBUG: Zones XML retrieved but no changes found! [parseZoneConfiguration]
2016.10.08 23:00:05.049 DEBUG: Get zone configuration with updateId: 1942247734 [doGetZoneRequest]
2016.10.08 23:00:05.049 DEBUG: Try to create new request: http://192.168.2.140:47365/getZones [request]
ARMv7 package... on Raspbian
is there anything i can do, to do a more verbose logging?
Adding ability for webserver to handle documents,images,...
(For 3rd Party Webclients)
Hello,
Neither getRendererState nor getZoneConfig seem to provide any information on whether the Raumfelds are currently in standby mode or active. Is there any way to get the current standby state?
Thanks for clarifying!
Bonilla
Raumserver requests (e.g. play, stop,...) work if the Raumfeld device(s) is/are on or in standby/eco mode but they don't if the device(s) is/are switched off. However, the devices can be switched on via app using the new remote power control feature.
Is it possible to try switching the devices on (if off) before sending requests (e.g. play)?
hello,
if i use the listall=true i get following output:
[
{
"udn": "uuid:b1128e87-71b2-443b-8100-37a48574ef82",
"friendlyName": "Schlafzimmer",
"isZoneRenderer": true,
"avTransportUri": "dlna-playsingle://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&iid=0/Renderers/uuid:a2bc2f63-5ceb-48fc-af92-d4a7fa33e547/StationButtons/44",
"bitrate": 128,
"volume": 2,
"numberOfTracks": 1,
"currentTrack": 1,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "NORMAL",
"transportState": "STOPPED",
"mediaItem": {
"id": "0/Renderers/uuid:a2bc2f63-5ceb-48fc-af92-d4a7fa33e547/StationButtons/44",
"parentId": "0/Renderers/uuid:a2bc2f63-5ceb-48fc-af92-d4a7fa33e547/StationButtons",
"type": "RADIO_RADIOTIME"
},
"roomStates": [
{
"roomUdn": "uuid:50f23c84-0a1b-48de-ab44-10e9dd068f4e",
"isMute": false,
"isOnline": false,
"volume": 2,
"transportState": "STOPPED"
}
]
},
{
"udn": "uuid:DC2BC1B7-753D-449A-AA6D-067015178864",
"friendlyName": "Inactive",
"isZoneRenderer": true,
"avTransportUri": "dlna-playsingle://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&iid=0/Renderers/uuid:a193f9a9-84c5-4193-9e50-bfd4396dcf86/StationButtons/404",
"bitrate": 128,
"volume": 28,
"numberOfTracks": 1,
"currentTrack": 1,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "NORMAL",
"transportState": "STOPPED",
"mediaItem": {
"id": "0/Renderers/uuid:a193f9a9-84c5-4193-9e50-bfd4396dcf86/StationButtons/404",
"parentId": "0/Renderers/uuid:a193f9a9-84c5-4193-9e50-bfd4396dcf86/StationButtons",
"type": "RADIO_RADIOTIME"
},
"roomStates": [
{
"roomUdn": "uuid:00287e64-0fcb-4e56-92da-30aaa0518b63",
"isMute": false,
"isOnline": true,
"volume": 28,
"transportState": "STOPPED"
}
]
},
{
"udn": "uuid:78658C96-C570-4E78-A761-195F2B9140E4",
"friendlyName": "wc-og",
"isZoneRenderer": true,
"avTransportUri": "http://192.168.250.80:9120/oe3.mp3",
"bitrate": 192,
"volume": 44,
"numberOfTracks": 1,
"currentTrack": 1,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "NORMAL",
"transportState": "STOPPED",
"mediaItem": {},
"roomStates": [
{
"roomUdn": "uuid:b463e62d-b87a-4b4a-ab4d-bdee80821f78",
"isMute": false,
"isOnline": true,
"volume": 44,
"transportState": "STOPPED"
}
]
},
{
"udn": "uuid:66E9EDD1-167F-49BD-BDD6-CC0D400B1094",
"friendlyName": "Bad",
"isZoneRenderer": true,
"avTransportUri": "dlna-playcontainer://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&cid=0/Playlists/MyPlaylists/Radio&md=0&fii=0",
"bitrate": 0,
"volume": 41,
"numberOfTracks": 1,
"currentTrack": 1,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "NORMAL",
"transportState": "STOPPED",
"mediaItem": {
"id": "0/Playlists/MyPlaylists/Radio/24",
"parentId": "0/Playlists/MyPlaylists/Radio",
"type": "RADIO_RADIOTIME"
},
"roomStates": [
{
"roomUdn": "uuid:eb6adecb-20b6-4db7-8012-9670493ddd3d",
"isMute": false,
"isOnline": true,
"volume": 41,
"transportState": "STOPPED"
}
]
},
{
"udn": "uuid:61743ef6-ce64-4ca8-b09b-beb051d6bf4d",
"friendlyName": "Pool",
"isZoneRenderer": true,
"avTransportUri": "",
"bitrate": 0,
"volume": 59,
"numberOfTracks": 0,
"currentTrack": 0,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "NORMAL",
"transportState": "STOPPED",
"mediaItem": {},
"roomStates": [
{
"roomUdn": "uuid:95ffde14-a056-452e-a4fb-4d9c068fdf4b",
"isMute": false,
"isOnline": true,
"volume": 59,
"transportState": "STOPPED"
}
]
},
{
"udn": "uuid:5CC73C09-F905-4877-9191-9128D8531252",
"friendlyName": "Kueche",
"isZoneRenderer": true,
"avTransportUri": "http://192.168.250.80:9120/oe3.mp3",
"bitrate": 192,
"volume": 25,
"numberOfTracks": 1,
"currentTrack": 1,
"currentTrackDuration": 0,
"muteState": "NONE",
"playMode": "REPEAT_ALL",
"transportState": "STOPPED",
"mediaItem": {},
"roomStates": [
{
"roomUdn": "uuid:8d10c182-e6e5-4c54-817e-9313877877f7",
"isMute": false,
"isOnline": true,
"volume": 25,
"transportState": "STOPPED"
}
]
}
]
on the first entry - how should i interprete 'avTransportUri' or on the mediaitem the 'id' -> 'StationButtons/44'?
i'm missing some rooms as well - and one is returned as
"friendlyName": "Inactive",
this schould be 'sauna'?
and what is 'StationButtons/404' there?
what is the difference on udn and roomUdn?
any insight would be great
thanks
holli
ps: sample output for my state collector:
holli@obelix:~/BUILD/ds/raumfeld$ curl -s 'http://obelix:18080/raumserver/data/getRendererState?listAll=true' |json -aM .udn .friendlyName .transportState .volume .avTransportUri .isZoneRenderer
uuid:b1128e87-71b2-443b-8100-37a48574ef82 Schlafzimmer STOPPED 2 dlna-playsingle://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&iid=0/Renderers/uuid:a2bc2f63-5ceb-48fc-af92-d4a7fa33e547/StationButtons/44 true
uuid:DC2BC1B7-753D-449A-AA6D-067015178864 Inactive STOPPED 28 dlna-playsingle://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&iid=0/Renderers/uuid:a193f9a9-84c5-4193-9e50-bfd4396dcf86/StationButtons/404 true
uuid:78658C96-C570-4E78-A761-195F2B9140E4 wc-og STOPPED 44 http://192.168.250.80:9120/oe3.mp3 true
uuid:66E9EDD1-167F-49BD-BDD6-CC0D400B1094 Bad STOPPED 41 dlna-playcontainer://uuid:2fe2f1b7-8578-47c7-9a59-f60706cc265d?sid=urn:upnp-org:serviceId:ContentDirectory&cid=0/Playlists/MyPlaylists/Radio&md=0&fii=0 true
uuid:61743ef6-ce64-4ca8-b09b-beb051d6bf4d Pool STOPPED 59 true
uuid:5CC73C09-F905-4877-9191-9128D8531252 Kueche STOPPED 25 http://192.168.250.80:9120/oe3.mp3 true
and this from the old
################################################################################# #
# RaumServer v0.1.10.96 (using RaumKernel v0.1.10.97) #
# #
# Raumfeld System: found #
# Webserver status: startet #
# #
# [r] list rooms, [n] list network adapters, [ESC] to quit! #
# #
################################################################################
ROOM: Kueche (uuid:8d10c182-e6e5-4c54-817e-9313877877f7)
ROOM: Schlafzimmer (uuid:50f23c84-0a1b-48de-ab44-10e9dd068f4e)
ROOM: LaubeAussen (uuid:c7684d10-6548-4a4c-a9e7-6a31e178d8ac)
ROOM: Sauna (uuid:00287e64-0fcb-4e56-92da-30aaa0518b63)
ROOM: wc-og (uuid:b463e62d-b87a-4b4a-ab4d-bdee80821f78)
ROOM: Bad (uuid:eb6adecb-20b6-4db7-8012-9670493ddd3d)
ROOM: Pool (uuid:95ffde14-a056-452e-a4fb-4d9c068fdf4b)
hello,
i did pull the latest to try the changes (cpu usage) but on the make i get:
g++-5 -m64 -std=c++11 -fPIC -Wall -Wno-unknown-pragmas -Wno-unused-parameter -funwind-tables -Wextra -O0 -c -pthread -fno-omit-frame-pointer -g -I includes/ -I ../../../RaumkernelLib/source/includes/ -I ../../../RaumserverLib/source/includes/ -I includes/libunwind/ -MMD -c -o build/obj-dyn/RaumserverDaemon.o RaumserverDaemon.cpp
RaumserverDaemon.cpp: In function ‘int main(int, char**)’:
RaumserverDaemon.cpp:208:86: warning: format not a string literal and no format arguments [-Wformat-security]
syslog (LOG_NOTICE, std::string("Working directory: " + workingDirectory).c_str());
^
g++-5 -m64 -pthread -static-libgcc -static-libstdc++ -rdynamic -Wl,--no-as-needed -ldl -Llibs/linux_X64/ -Wl,-rpath,libs -o build/raumsrvDaemonDyn build/obj-dyn/RaumserverDaemon.o -Bdynamic -lraumserver -lraumkernel -lunwind -lunwind-x86_64
libs/linux_X64//libraumkernel.so: undefined reference to `OpenHome::Net::CpDeviceCpp::Udn[abi:cxx11]() const'
libs/linux_X64//libraumkernel.so: undefined reference to `OpenHome::Net::CpDeviceCpp::GetAttribute(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const'
collect2: error: ld returned 1 exit status
makefile:85: recipe for target 'build/raumsrvDaemonDyn' failed
make: *** [build/raumsrvDaemonDyn] Error 1
cp: cannot stat 'build/raumsrvDaemonDyn': No such file or directory
cp: cannot stat 'build/raumsrvDaemonStat': No such file or directory
rm -f build/raumsrvDaemonDyn build/raumsrvDaemonStat build/obj-dyn/RaumserverDaemon.o build/obj-stat/RaumserverDaemon.o build/obj-dyn/RaumserverDaemon.d
rm -rf build/obj-dyn/ build/obj-stat/
i did pull/rebuild the kernel/kernellib and copied the new libs but i cant get the raumserverdeamon to build
any idea?
thanks
holli
PS: maybe you could use the "build" path within copy actual files script.
Presets should be callable from occuring events
eg. if a room gets online we want the room to be a zone and play the last stream which the room has played.
There will be several events which are not defined yet..
hallo,
ich bin langsam am verzweifeln. der connector ist auf software 1.60.1. wie bekomme ich das ganze auf dem connector installiert. muss es leider per hand machen da nur osx zur verfügung steht.
habe schon den ssh zugang und kann mich mit scp verbinden. habe die arm5 und arm7 schon probiert, jeweils die rechte auf 777 geändert. kann einfach keine verbindung aufbauen.
mfg. frank
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.