请选择 进入手机版 | 继续访问电脑版

『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: tomassam

多用户-房屋状态解决 - 集大成 - 基于状态机

[复制链接]

1

主题

81

帖子

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-27 21:40:58 | 显示全部楼层
咸味土豆 发表于 2019-4-27 20:01
没忍住第一次在论坛使用右键翻译中文(简体),结果还没成功,手动翻译之后发现说的非常有道理,膜拜一下。 ...

haha, feel free to review!
回复

使用道具 举报

74

主题

1942

帖子

7885

积分

元老级技术达人

积分
7885
金钱
5893
HASS币
430

活跃会员教程狂人

发表于 2019-4-27 21:42:28 | 显示全部楼层
tomassam 发表于 2019-4-27 21:40
haha, feel free to review!

louzhu,ni zhen bang.
所有过往,皆为序章。
回复

使用道具 举报

123

主题

4620

帖子

1万

积分

管理员

囧死

Rank: 9Rank: 9Rank: 9

积分
15963
金钱
11258
HASS币
45
发表于 2019-4-27 22:32:38 | 显示全部楼层
tomassam 发表于 2019-4-27 18:34
Ha! Thanks Jones. I do it intentionally, since the assorted (poorly edit) scripts are not suitable ...

oh my garden?
回复

使用道具 举报

0

主题

59

帖子

1278

积分

金牌会员

Rank: 6Rank: 6

积分
1278
金钱
1219
HASS币
0
发表于 2019-4-28 08:57:15 | 显示全部楼层

谢谢分享!!!收藏以后用
回复

使用道具 举报

22

主题

519

帖子

1608

积分

金牌会员

Rank: 6Rank: 6

积分
1608
金钱
1089
HASS币
10
发表于 2019-4-28 09:47:01 | 显示全部楼层
天书 模式启动中。。。
回复

使用道具 举报

1

主题

81

帖子

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-28 13:08:10 | 显示全部楼层
pigcais 发表于 2019-4-28 09:47
天书 模式启动中。。。

Yep, admit it's kinda academic description. But couldnt find a better way to convey idea in the same concise and accurate way. My suggestion is (1) read the state machine and understand it (it's actually a way of telling how status shifts) (2) read the code (especially the comment parts) and understand each code block represent a certain link of status machine figure.

If feeling good about the above steps, I believe you can make it. Good Luck.

(Again still on Ubuntu machine now without ZH pinyin input
回复

使用道具 举报

22

主题

519

帖子

1608

积分

金牌会员

Rank: 6Rank: 6

积分
1608
金钱
1089
HASS币
10
发表于 2019-4-28 15:09:19 | 显示全部楼层
tomassam 发表于 2019-4-28 13:08
Yep, admit it's kinda academic description. But couldnt find a better way to convey idea in the sa ...

thanks i'll try it
回复

使用道具 举报

13

主题

401

帖子

2743

积分

金牌会员

Rank: 6Rank: 6

积分
2743
金钱
2342
HASS币
0
发表于 2019-4-28 23:40:09 | 显示全部楼层
类似的功能我也是用门口的开关实现的,不过楼主的逻辑清晰,图画的好。感谢分享。
警戒开启可以关闭所有设备和插座或部分自动化省电。
进家后可以使用场景。
回复

使用道具 举报

7

主题

359

帖子

1294

积分

金牌会员

Rank: 6Rank: 6

积分
1294
金钱
935
HASS币
0
发表于 2019-4-29 12:34:45 | 显示全部楼层
tomassam 发表于 2019-4-27 17:18
百度tts+vlc   https://bbs.hassbian.com/forum.php?mod=viewthread&tid=6749&highlight=%E5%B0%8F%E7%B1%B ...

楼主这个百度tts链接错了,还是小米网关警戒的链接
回复

使用道具 举报

1

主题

81

帖子

257

积分

论坛分享达人

积分
257
金钱
176
HASS币
10
 楼主| 发表于 2019-4-29 12:56:43 | 显示全部楼层
maybeloveu 发表于 2019-4-28 23:40
类似的功能我也是用门口的开关实现的,不过楼主的逻辑清晰,图画的好。感谢分享。
警戒开启可以关闭所有设 ...

true! like to think about applications based on status
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-29 19:43 , Processed in 0.052927 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表