New Reality Editor Version 1.5.7

@valentin the server is running but the “create new object” is not working

what is the error message? Probably a module is missing.

@valentin I haven’t install python.Should I install it?

hemm it works for me. do you see any error messages in the terminal?

@valentin it is solved , it was some delay or something after restarting server , its working now :slightly_smiling:

version “simple” is GO , i repeat , simple is a GO :slightly_smiling:

@Sunny

Download the simple version from GitHub - openhybrid/object at v1.6.0_withoutExtraHardwareInterfaces
then open a terminal in the “object-1.6.0_simple” folder and do npm install
no need for python
everything should be fine :slightly_smiling:

@Sunny is it working now ?

I renamed https://github.com/openhybrid/object/tree/v1.6.0_simple to https://github.com/openhybrid/object/tree/v1.6.0_withoutExtraHardwareInterfaces

@valentin @V_Mohammed_Ibrahim Thanks a lot! I installed 1.6.0 successfully just now.But I still can’t see “bird” on app.
The app cannot find object:



But when I open app in iphone,the node.js give the info:

I think it was working.What may cause the problem?:dizzy_face:

@Sunny I think the problem lies in your wireless network or your windows Computer.
Sometimes a firewall blocks port 8080 and 80.
Can you make sure that your computer is not blocking port 8080 and port 52316?
This might help: http://windows.microsoft.com/en-us/windows/open-port-windows-firewall

Hi @valentin
I open the UDP port 8080 80 and 52316 on windows fw,both inbound and outbound.
But… the app still cannot find the object in the “Found Objects in this Network”.
The Wifi info:

(hybrid)
(iphone)
In Object Folder I add the document from Examples(HybridObject-master – examples – readWrite), I download before.

When I open app on iphone the node,js do can get information.So Does this problem caused by iphone or reality editor or OpenHybrid server?(It seems like Openhybrid can find reality editor but reality editor cannot find Openhybrid)

@Sunny What brand and model is your router?

@valentin I use the wifi gave by PC :frowning:
Wireless Hotspot WiFi Hotspot

@Sunny I believe that the problem is in your wireless network.
Open Hybrid is working with a normal home grade router, but your setup is some kind of PC network sharing.

I just updated https://github.com/openhybrid/object/tree/v1.6.0_withoutExtraHardwareInterfaces with a test server.

Can you please download it, open the Terminal and call npm install within that folder and then execute the following:
node webServerTest.js

This creates a very very basic web server on port 8080.

On your iOS device can you type in the address of your computer and the 8080 port in to the safari browser like so:
http://<computer IP>:8080

According to the screenshots you send before, in your case this would be:
http://192.168.155.2:8080

If you see a bird in your phones web browser, this means that the network connectivity should work.
If nothing happens, your network is blocking the peer to peer connectivity.

In that case you can try to figure out how windows blocks this kind of communication or just buy a cheap WIFI router like this one here: http://www.amazon.com/TP-LINK-TL-WR702N-Wireless-Repeater-150Mbps/dp/B007PTCFFW/

@Sunny @valentin he problem might be because the option to enable devices to discover each other on network might not be working/ enabled on windows
Once it happened to me. I don’t remember exactly how i fixed it , but it is probably the case here

http://windows.microsoft.com/en-us/windows/what-is-network-discovery#1TC=windows-7

1 Like

@valentin @V_Mohammed_Ibrahim I am very happy that I can see a bird in iphone web browser.But when I open the reality editor,the bird dosen’t appear.

Is the reality editor showing the object in list ?

@V_Mohammed_Ibrahim @valentin No,nothing in the “Found Objects in this Network”.

@Sunny I can only see one last reason:
Your iPhone does not receive the broadcasting messages from the Computer. This has to be the reason why nothing is showing up in your editor.

This can have two reasons:

  1. Your computer firewall is blocking outgoing UDP broadcasts.
  2. Your Router is blocking the broadcasting signals.

On windows machines most ports are blocked by anti virus tools, traffic control software or firewalls.

For a test, please stop all firewalls, anti virus tools and traffic control software on your computer.
Make sure that TCP/IP port 8080 is reachable and allows for sending (which you just did).
Make sure that UDP port 52316 is reachable and allowed to send data.

If the reality editor is still not showing any objects continue with the following:

I have written another test.
Please download https://github.com/openhybrid/object/tree/v1.6.0_withoutExtraHardwareInterfaces again.
Perform the installation with npm install again and then run the following test:
node udpBroadcastTest.js

You should see messages popping up in your computer similar to:
Message received: test with ID: xxxxxxxx

If this is the case, install the same v1.6.0 on a second computer and run node udpBroadcastTest.js on both computer in the same time.

You should see messages with different ID’s popping up in both computers.
Message received: test with ID: xxxxxxxx
Message received: test with ID: yyyyyyyy

If you do not see messages from two different computer popping up while both computer are running the test, your network or computer is still blocking UDP broadcasting messages.