Community Hass.io Add-on: IDE, based on Cloud9

hassio-repository
hassio-addon
Tags: #<Tag:0x00007fd07c9d24f8> #<Tag:0x00007fd07c9d23b8>

#165

please let me ask again:

i use 2 HA instances both of which id like to use this add-on on. they are both on mydomain.duckdns.org and I can reach these with that url using a specific port setting, I forwarded in my router.

As such I use the default settings for IDE (port 8321) for one instance and try to use a changed port 8322 for the second instance. I can see the port forwarded being in effect by using https://ip_addres:8322 which brings me to the IDE interface. login in with my HA credentials et voila.

I can not however use the button Open Web-ui in the add-on, because that brings up the error it can not connect to the server, which is listed alright as being https://mydomain.duckdns.org:8322 and that is in fact used in the address field of the browser…

What can I try to solve this issue?

Update

just for reference… solved this. had the port forward’s listed with both the incoming and local port. deleted the local port, and now all is well. Both systems connect…


#166

3 months later. Still an issue.


#167

It will stay an issue as it seems, since Cloud9 is pretty dead (thanks Amazon). I’m looking into alternatives, but that process it slow (since a lot is going on at the online IDE apps at this moment).


#168

Agreed. I posted a few months ago about Eclipse Che, but it never did get any traction. It is probably the single most viable alternative that I have found so far, but I’ve yet to have much of a chance to really work with it.


#169

To be honest, I’ve been working and testing a lot with Theia (Che) a lot…and there are alternatives (code-server for example). Both are insanely close… but still have issues. So just so you known @Apocrathia, I don’t loose track :wink: )


#170

I did not even know that code-server existed. My vote would be there as vscode definitely has better support. They even had the same issue with zsh in vscode and it appears to have gotten fixed there. code-server runs great on their site (and the scroll wheel issue definitely isn’t there). I’ve written some basic vscode extensions before, and they’re not terribly hard. You could probably ship a code-server add-on relatively easily, and I can see if I can throw together a basic Home Assistant extension. (possibly even utilize hass-cli with it)


#171

“easy”… try ARM (which is our largest user-base giving the Raspberry Pi) :wink:


#172

Fair point. I’m the weirdo running hassio in a vSphere cluster. So, I don’t even have an ARM system to test it on. I would assume it would work, given that it’s all TypeScript, but I haven’t looked too deeply into the shenanigans that vscode/proton may be doing under the hood.


#173

Thanks for responding and letting us know that you haven’t forgotten about us. Hopefully, code-server can overthrow the Cloud9 IDE we have soon enough.


#174

I don’t forget, I keep all add-ons I have out updated as much as possible. As a matter of fact, I’m coding the IDE add-on as we speak.


#175

And you’re doing the lords work. I think we’re all still pretty dependent upon the Cloud9 IDE, and Amazon’s lack of support for it since its acquisition has been a little disappointing. Again, thanks for the update.