[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [iot-wg] Struggling with JavaOne Demo
|
Hi Jens,
Your "connection refused" was probably caused by me having problems
restarting the broker after upgrading it.
Sorry about that.
Cheers,
Roger
On Tue, Jul 22, 2014 at 12:23 PM, Jens Reimann
<jens.reimann@xxxxxxxxxxxxxxx> wrote:
> Hello Benjamin,
>
> thanks for helping out.
>
> At the moment I only get "connection refused" from the Broker.
>
> So maybe I start the other way round and then provide our values to the
> MQTT broker instead. Where could I publish those values to?
>
> Jens
>
> On 07/22/2014 12:51 PM, Benjamin Cabé wrote:
>> Hi Jens,
>>
>> Two things:
>> - the actual greenhouse is still being developed so there might not be data coming in all the time on this topic. You should use the simulator [1] and create a new simulated greenhouse named « eclipse-greenhouse » if you want to easily send/receive fake data and commands.
>> - the latest temperature sent by the greenhouse should however always be available on javaonedemo/eclipse-greenhouse/sensors/temperature since it is supposed to be published as a retained message. It seems there is a bug in Mosquitto somewhere since from time to time the retained message just vanishes. I will ask Roger for help again.
>>
>> Hope this helps?
>>
>> Benjamin.
>>
>>
>> [1] http://198.27.66.207:8081/app/#/greenhouses
>>
>>
>>
>> Le 22 juil. 2014 à 12:43, Jens Reimann <jens.reimann@xxxxxxxxxxxxxxx> a écrit :
>>
>>> Hi,
>>>
>>> I just tried to hook up to the data of the JavaOne Demo [1] and consume
>>> the temperature value using Eclipse SCADA.
>>>
>>> So what I came up with was using Paho and the async client:
>>>
>>> connect(tcp://iot.eclipse.org:1883) -> on success -> subscribe
>>> (javaone2014/eclipse-greenhouse/sensors/temperature)
>>> sleep(10 seconds)
>>> disconnect() -> wait
>>> exit
>>>
>>> While everything works well (connect and disconnect), the subscribe also
>>> seems to succeed, but I never receive any data.
>>>
>>> Maybe someone can help me a little bit.
>>>
>>> Jens
>>>
>>> [1] https://wiki.eclipse.org/IoT/JavaOne2014_Demo
>>>
>>> --
>>> IBH SYSTEMS GmbH
>>> D-85235 Pfaffenhofen an der Glonn
>>> Läutenring 43
>>> Geschäftsführer / CEO: Dr. Thomas Heitzig
>>>
>>> Amtsgericht München
>>> Handelsregister Nummer HRB 197959
>>> USt ID: DE267945175
>>>
>>> Office Munich
>>> D 80992 München
>>> Agnes-Pockels-Bogen 1
>>> T +49 89 18 9 17 49 0
>>>
>>> The information transmitted is intended only for the person or entity
>>> to which it is addressed and may contain confidential and/or pivileged
>>> material. Any review, retransmission, dissemination or other use of,
>>> or taking of any action in reliance upon, this information by persons
>>> or entities other than the intended recipient is prohibited. If you
>>> received this in error, please contact the sender and delete the
>>> material from any computer.
>>>
>>> _______________________________________________
>>> iot-wg mailing list
>>> iot-wg@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/iot-wg
>>>
>> _______________________________________________
>> iot-wg mailing list
>> iot-wg@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/iot-wg
>
>
> --
> IBH SYSTEMS GmbH
> D-85235 Pfaffenhofen an der Glonn
> Läutenring 43
> Geschäftsführer / CEO: Dr. Thomas Heitzig
>
> Amtsgericht München
> Handelsregister Nummer HRB 197959
> USt ID: DE267945175
>
> Office Munich
> D 80992 München
> Agnes-Pockels-Bogen 1
> T +49 89 18 9 17 49 0
>
> The information transmitted is intended only for the person or entity
> to which it is addressed and may contain confidential and/or pivileged
> material. Any review, retransmission, dissemination or other use of,
> or taking of any action in reliance upon, this information by persons
> or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the
> material from any computer.
>
> _______________________________________________
> iot-wg mailing list
> iot-wg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/iot-wg